logo
THE BEST FREE AND PAID PHP SCRIPTS AVAILABLE ON THE WEB
Visit Publisher Site

Multi format countdown class

(0 Reviews)
This free class can show the time left until a moment in different formats. It can take as parameters the specification of a time remaining to a certain moment given the seconds, minutes, hours, days, weeks, months and years. The class can return the remaining time formatted in a a custom way with a given list of time format parameters.

Multi format countdown class can convert between different formats of time units. User can specify time left to count in any combinations of time units as seconds, minutes, hours, days, weeks, months and years and retrieve in any other combinations of time units

User might also provide timestamp to which time left was relatively calculated.

Note that user must set default time zone for countdown formats to be properly calculated.
This class returns values in full time units, for example, if you provide 80 seconds, and request format in minutes, then only 1 minute will be returned and 20 seconds will be cut off.

- See more at: http://webcodingeasy.com/PHP-classes/Generate-countdown-in-any-format#sthash.B2jFqBhU.dpuf

Listed in Countdowns category

Featured Listing