I need to write some javascript that will return a date string in the
form mm/dd/yyyy.
The date needs to be today's date - 30 days.
Is there a relatively straight forward way to do this?
So far all I can find is a mess of variables for month, day, and year,
and combining some date functions together, etc etc. Seems like a lot
of work for what should be very simple.
form mm/dd/yyyy.
The date needs to be today's date - 30 days.
Is there a relatively straight forward way to do this?
So far all I can find is a mess of variables for month, day, and year,
and combining some date functions together, etc etc. Seems like a lot
of work for what should be very simple.
Comment