PHP Classes

CountDown class: Display the time remaining to a give date

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 49%Total: 1,040 All time: 3,535 This week: 299Up
Version License PHP version Categories
acountdown 1.0Freely Distributable5PHP 5, Time and Date
Description Author

This class can be used to display the time remaining to a give date.

It takes a given final date and computes the remaining time to reach that date.

If the date has not been reached, the class displays the remaining time in weeks, days, hours, seconds and minutes. Otherwise the class just displays a countdown finished message.

Innovation Award
PHP Programming Innovation award winner
June 2010

Prize: One copy of VS.PHP
Countdowns are often used to create expectation about something that is going to happen soon.

This class can present a simple time countdown in a Web page to help creating the expectation about an upcoming event.

Manuel Lemos
Picture of Cat
Name: Cat <contact>
Classes: 1 package by
Country: The Netherlands The Netherlands
Age: 29
All time rank: 230763 in The Netherlands The Netherlands
Week rank: 587 Up17 in The Netherlands The Netherlands Up
Innovation award
Innovation award
Nominee: 1x

Winner: 1x

  Files folder image Files  
File Role Description
Plain text file countdown.class.php Class Class to count down with
Accessible without login Plain text file example.php Example Example on how to use the class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,535
This week:299Up
 User Ratings  
 All time