Home › Categories › Countdowns › Multi format countdown class

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

More in Countdowns

Easy Countdown

You can keep people notified about the launch date of your site easily with easy countdown PHP script. You can integrate this script to any PHP project, send email to subscribed guests, social…

Visit ↗Countdowns

PHP Countdown Creator

Create customized countdowns for any occasion with Tizag PHP Countdown Creator. Customize the text size, position, color, dropshadow, and more! This application currently supports jpg, jpeg, gif, and…

Visit ↗Countdowns

Server Side Countdown Clock

This is a very simple and basic script that allows to place countdown clocks on your web site. Unlike that one, whose computed time period depends on the settings of the visitor's computer, this…

Visit ↗Countdowns

PrestaShop Order Status Plugin

PrestaShop Order Status Plugin is developed by "FMEModules" which is used to show a preorder button on the product page of your Presta Store. This plugin is useful when your products are out of stock…

Visit ↗Countdowns