Next: , Previous: Month number, Up: Replacements with date argument


G.2.1.8 Year number %[format]Y[date] special text

%Y[date]
Is replaced by the year number of the current year, e.g.:
The text ‘Year %Y , %n will be expanded to
==> ‘Year 933, 22-Feb-0933, in case the actual system date is the 22nd February 933.

%>04*Y[date]
Is replaced by the 4-digit complete year number with leading zeroes of the current year, e.g.:
The text ‘Year %>04*Y0015 , %n will be expanded to
==> ‘Year 0015, 22-Feb-0933, in case the actual system date is the 22nd February 933.