PHP Classes

PHP Countdown Timer: Show the time that remains until a given date

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 240 All time: 8,001 This week: 189Up
Version License PHP version Categories
countdown-timer 1Freely Distributable5.0PHP 5, Time and Date


This class can display the time that remains until a given date.

It takes an array of parameters that define the initial and final dates, and the format of the output of the time from the initial to the final date.

The class computes the difference between the dates and returns a string with either the number of remaining days, a timer with the remaining years, months, days, hours, minutes and seconds, or in a raw format.


What is the best PHP timer countdown class?
I need a php class that will countdown to 24 hours after a given

Picture of breuls peter
  Performance   Level  
Name: breuls peter <contact>
Classes: 1 package by
Country: Belgium Belgium
Age: ???
All time rank: 399023 in Belgium Belgium
Week rank: 483 Up4 in Belgium Belgium Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file timer.php Example Date timer
Plain text file timeDiff.php Class class file Date timer

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:8,001
This week:189Up