Countup Timers

To display a countup timer, insert into your posts/pages/widgets a code like this:

 

 

[countup date=YYYY/MM/DD-hh:mm:ss]

For [timer], this film is released in cinemas!

[/countup]

 

· YYYY = year

· MM = month (from 1 to 12)

· DD = day number of the month (from 1 to 31)

· hh = hours

· mm = minutes

· ss = seconds

 

In some cases, you can specify the date differently:

  • YYYY/MM/DD is equivalent to YYYY/MM/DD-00:00:00
  • YYYY/MM/DD-hh is equivalent to YYYY/MM/DD-hh:00:00
  • YYYY/MM/DD-hh:mm is equivalent to YYYY/MM/DD-hh:mm:00

 

The date shall be indicated according to the time zone of your website. Set correctly your time zone via the WordPress Administration Panel if you have not done. You may occasionally specify an offset to UTC time different from your time zone using the offset attribute:

 

 

[countup date=YYYY/MM/DD-hh:mm:ss offset=x]

For [timer], this film is released in cinemas!

[/countup]

 

The offset attribute is the offset (in hours) to UTC time. You can specify any relative number for this attribute. In some countries, the offset to UTC time is not constant. It may distort the calculation of the elapsed time. To solve this problem, you can use the offset attribute (offset=x for each date during winter time and offset=x+1 for each date during summer time, replace xwith the right numeric value).

The countup timer shows the same elapsed time everywhere in the world. If the date is not yet reached, the content between [countup date=YYYY/MM/DD-hh:mm:ss] and [/countup] doesn’t appear. You can format this content as any content of your website.

You can insert the [timer] shortcode as many times as you want between[countup date=YYYY/MM/DD-hh:mm:ss] and [/countup]. If you don’t insert it, Easy Timer allows you to schedule a content appearance without displaying a countup timer:

 

 

[countup date=YYYY/MM/DD-hh:mm:ss]

When this film comes out in cinemas, this sentence will appear!

[/countup]

 

Display Of Elapsed Time

You are not limited to the [timer] shortcode. You can use the following shortcodes:

  • [timer] to display the elapsed time
  • [dhmstimer] to display the elapsed time in days, hours, minutes and seconds
  • [dhmtimer] to display the elapsed time in days, hours and minutes
  • [dhtimer] to display the elapsed time in days and hours
  • [dtimer] to display the elapsed time in days
  • [hmstimer] to display the elapsed time in hours, minutes and seconds
  • [hmtimer] to display the elapsed time in hours and minutes
  • [htimer] to display the elapsed time in hours
  • [mstimer] to display the elapsed time in minutes and seconds
  • [mtimer] to display the elapsed time in minutes
  • [stimer] to display the elapsed time in seconds
  • [hmsrtimer] to display only the hours, minutes and seconds of the elapsed time in days, hours, minutes and seconds
  • [hmrtimer] to display only the hours and minutes of the elapsed time in days, hours, minutes and seconds
  • [hrtimer] to display only the hours of the elapsed time in days, hours, minutes and seconds
  • [msrtimer] to display only the minutes and seconds of the elapsed time in days, hours, minutes and seconds
  • [mrtimer] to display only the minutes of the elapsed time in days, hours, minutes and seconds
  • [srtimer] to display only the seconds of the elapsed time in days, hours, minutes and seconds

· All countup timers will display:

  • the elapsed hours (and optionally minutes and seconds) if the elapsed time is less than 1 day
  • the elapsed minutes (and optionally seconds) if the elapsed time is less than 1 hour
  • the elapsed seconds if the elapsed time is less than 1 minute