Link to home
Create AccountLog in
Avatar of scm0sml
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?
Avatar of vsudip
vsudip
Flag of India image

Avatar of scm0sml
scm0sml

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
Avatar of scm0sml

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
Avatar of contactkarthi
contactkarthi
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer