Multi format countdown class
in Countdowns · by none
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
Before you choose Multi format countdown class
Listed on our Countdowns shelf. This kind of script usually suits site owners who need one feature added quickly. When you try the demo, look at size, dependencies and whether the script is still maintained. Compare it with a couple of alternatives from the same category before you decide.