PHP Classes

CountDown class: Display the time remaining to a give date

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2010-05-05 (5 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,000 All time: 3,444 This week: 1,099Up
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 Angelo Geels
Name: Angelo Geels <contact>
Classes: 1 package by
Country: The Netherlands The Netherlands
Age: 21
All time rank: 219063 in The Netherlands The Netherlands
Week rank: 1577 Up44 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,000All time:3,444
 This week:0This week:1,099Up