javascript Date() to MySQL datetime data type

I have one of those commonly used popup calendars on a page that is working fine.  It uses the following:

<input type="hidden" name="ticket_deadline_date" value="2006-04-28 00:00:00" />
<input type="text" name="deadline_date" value="04/28/06" class="text" readonly size="12"/>

I would like to change the values of both via a javascript function that will be triggered by a select option.  The "hidden" value is for writing to  MySQL with a data type of datetime.  The over form element is for display to the user.  I am pretty decent with javascript, but I don't know how to take "2006-04-20 00:00:00" and add 5 days to it, for example.  This would change the value to "2006-04-25 00:00:00"  and the other value to "04/25/06".

I haven't found a lot of flexibility in the javascript Date() object.  

Is this possible?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Date functions emulated in Javascript

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.