How to turn character date into integer jquery/javascript

Posted by sadmicrowave on Stack Overflow See other posts from Stack Overflow or by sadmicrowave
Published on 2010-04-29T12:23:48Z Indexed on 2010/04/29 12:37 UTC
Read the original article Hit count: 413

Filed under:
|
|
|

I need a way to turn my 2 character string dates (i.e. '04/10/2010' & '05/24/2010') into an integers in jquery to see if one is greater than the other. If the user enters an end date that is less than the begin date I need to popup an "invalid date range" error.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about JavaScript