scm0sml
asked on
using gettime on 10-Mar-2009 date format
I have a date as a string in this format:
10-Mar-2009
Javascript doesnt seem to be able to gettime() of that.
Is there a workaround for this?
10-Mar-2009
Javascript doesnt seem to be able to gettime() of that.
Is there a workaround for this?
ASKER
that is describing how to get todays date in a certain format, i need to deal with the date in the format i have?
You can use the parse method , before manupuylating the date
ASKER
parse isnt working becuase it isnt looking at the string as a date because of the format of the date in the string
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
http://www.javascriptmall.com/jsc/jsC4Udate.htm