Knowledge Base

Authoring/Development - System CGI: countdown.pl

Homepage:

http://nms-cgi.sourceforge.net/

Modifications Required:

No

Optional modifications:

None recommended

countdown.pl allows you to display the number of years, months, days, hours, minutes, and seconds to a specific date. To use it, you must call the script and pass the desired time in the query string. For example:

http://www.example.com/cgi-sys/countdown.pl?2009,12,25,12,0,0

The URL above would display the time remaining until noon on Christmas day, in the year 2009. The arguments are separated by commas and represent the following (in order): the year, the month, the day, the hours (in 0-23 format), the minutes, and the seconds you are counting down to.

Please provide feedback on this article.
Shortcut To This Article: http://kb.pair.com/f33