posted on Saturday, October 02, 2004 5:41 PM
by
deepak
Date Comparisons in JavaScript
Date Comparisons in JavaScript
Almost any developer in the worldwide now uses JavaScript widely for its rich clientside validations. And having a datetime field is a common one in any enterprise web application.
Validating a datetime field is again a tricky task for any webdeveloper.
I was searching for some info on DateTime validations and came across the following simple URL:
Check it out: http://www.flws.com.au/showusyourcode/codeLib/code/js_DateDiff.asp?catID=2
It gives the differences in days, hours, minutes and seconds.