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 45%Total: 1,043 This week: 1All time: 3,538 This week: 571Up
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
Winner


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: 30
All time rank: 231261 in The Netherlands The Netherlands
Week rank: 420 Up10 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  
 0%
Total:1,043
This week:1
All time:3,538
This week:571Up
 User Ratings  
 
 All time
Utility:62%StarStarStarStar
Consistency:68%StarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:45%StarStarStar
Rank:3240