billy21
asked on
DateAdd Function
How do I add days to a date in javascript? What I want to do is simply add 7 days to a date.
Also can I convert a string to a date? the date I'll be using will be coming in as a string formatted dd mmm yyyy
Thanks in advance,
Bill
Also can I convert a string to a date? the date I'll be using will be coming in as a string formatted dd mmm yyyy
Thanks in advance,
Bill
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
OIC the <BR> things seem to be a result of copying and pasting and nothing more.
Works fine. Thanks amg.
Works fine. Thanks amg.
ASKER
function MoveRight()
{
var d = document.all;
var dt = new Date(d.hidStartDate.value)
with (dt) {<BR> setDate(getDate(
}