Next: , Previous: , Up: Replacements with date argument   [Contents][Index]


G.2.1.4 Day number %[format]D[date] special text

%D[date]

Is replaced by the day number of the current day of month, e.g.:

The text ‘Day %D , %n will be expanded to
→ ‘Day 2, 02-Feb-1996, in case the actual system date is the 2nd February 1996.

%>02*D[date]

Is replaced by the 2-digit day number with leading zero of the current day of month, e.g.:

The text ‘Day %>02*D0@t-1 , %n-1 will be expanded to
→ ‘Day 01, 01-Feb-1996, in case the actual system date is the 2nd February 1996.

%>1&*D[date]

Is replaced by the day number with trailing Ordinal Number suffix of the current day of month, e.g.:

The text ‘Day %>1&*D , %n will be expanded to
→ ‘Day 2nd, 02-Feb-1996, in case the actual system date is the 2nd February 1996.

%>02&*D[date]

Is replaced by the 2-digit day number with leading zero and trailing Ordinal Number suffix of the current day of month, e.g.:

The text ‘Day %>02&*D , %n will be expanded to
→ ‘Day 02nd, 02-Feb-1996, in case the actual system date is the 2nd February 1996.