Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14611 reviews 1734 hosting providers

Questions & Answers

Comparing today’s date with another date using JavaScript.

Nov 1, 2012 by Dan_31
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 votes
Nov 1, 2012 by SmartHost
JavaScript has a date object that you can use for this kind of request. Check this site for detailed information http://javascript.about.com/library/bltut19.htm