Template:Date-o-matic
The Date-o-matic is a small set of expansions upon {{#time}}
parser function. It is made up by three parts:
{{date-o-matic}}
. Analogous to{{#time}}
, with two codes are added to the format string:- % gives the day in ordinal number.
{{date-o-matic|F %, Y}}
yields October 24th, 2024. - ^ gives the day in ordinal number, with the ordinal suffix superscripted.
{{date-o-matic|F ^, Y}}
yields October 24th, 2024. - Currently, there is no escape implementations. Use
{{#time}}
if these characters must be used.
- % gives the day in ordinal number.
{{date-o-matic/horoscope}}
. Return the horoscope sign for the provided date.{{date-o-matic/fromnow}}
. Return the length of time from now to the provided time.