HotDoodle Logo


{hd time-until 12/25/15}

Reports days, hours, minutes until a date. The counter does not change while they watch, but it changes every time it is shown.  The embed sequence can be formatted with the usual font and boldness.

Example: " {hd time-until 12/25/2015} until Christmas."   becomes   "43 days and 16 hours until Christmas."

The first argument is a date and time, but it cannot contain spaces.   You can use 'T' to mark the time. Example: '12/25/2015T8am'

The second argument is the format and defaults to 'dh'.

    d -- show days, but will not show 0
    h -- show hours
    H -- show hours only when there is less than a day
    m -- show minutes
    M show minutes only when there is less than an hour

So dh shows days and hours, dH shows just days, then just hours

 

© 2006 - 2015 Metabyte, Inc., All Rights Reserved, Patents Pending

http://www.hotdoodle.com, HotDoodle™ Custom Web Design and Quality Affordable Website Designers for Small Businesses and Professionals
Powered by http://www.hotdoodle.com, HotDoodle™ Custom Web Design and Quality Affordable Website Designers for Small Businesses and Professionals
Restaurant Website Design Templates and Site Designers Site Map