Comparing today’s date with another date using JavaScript.

asked Nov 1, 2012 in General by Dan_31 (910 points)
Hi all..
I just started using JavaScript, and I’m trying to compare today’s date with a specific date. Can anyone please tell me the simplest way to do this?

1 Answer

0 like 0 dislike
answered Nov 1, 2012 by SmartHost (9,060 points)
JavaScript has a date object that you can use for this kind of request. Check this site for detailed information