This tag can count days, minutes, months, etc. from a specified date or time. It can also give the time to or from a few special events. See below for a full list.
Time:
Sets the year to count down to.
Sets the month to count down to. If given as a number January is 1.
Sets the weekday to count down to. If given as a number Sunday is 1.
Sets the day of the month to count down to.
Sets the hour to count down to.
Sets the minute to count down to.
Sets the second to count down to.
Sets the year, month and day to count down to. (YYYY-MM-DD, YYYYMMDD or YYYY-MMM-DD).
|
Sets the time of an event to count down to.
Add this number of years to the result.
Add this number of months to the result.
Add this number of weeks to the result.
Add this number of days to the result.
Add this number of hours to the result.
Add this number of beats to the result.
Add this number of minutes to the result.
Add this number of seconds to the result.
Sets the 'present' time, if other than really present time. (YYYY-MM-DD, YYYYMMDD or YYYY-MMM-DD)
|
Presentation:
Shows when the time will occur. All arguments that are valid in can be used to modify the display.
How many years until the time.
How many months until the time.
How many weeks until the time.
How many days until the time.
How many hours until the time.
|
How many beats until the time.
How many minutes until the time.
How many seconds until the time.
Shows an english text describing the time period. Example: 2 days, 1 hour and 5 seconds. You may use the 'prec' attribute to limit how precise the description is. Also, you can use the 'month' attribute if you want to see years/months/days instead of years/weeks/days.
|
How many dog-years until the time. (With one decimal)
|
Return true or false (1 or 0), depending on if the time is now or not. The fuzziness of 'now' is decided by the 'prec' option.
|
As for 'date'. Useful values for type include string, number and ordered.
The language in which the result should be written if the type is string.
|
Negate the period of time.
|
Always count down to the next event. <countdown day='friday' next=''> says 6 on a friday as opposed to 0 without the next attribute.
|
Modifies the precision for 'boolean'- and 'combined'-arguments.