Previous: Biorhythm, Up: Replacements with date argument [Contents][Index]
%[format]?[date]
special textsThe following difference value %[format]?[date]
special texts are respected:
%ydate
Is replaced by a year difference value, e.g.:
The text ‘Sylvester 1912 is %y1912 years ago’ will be expanded to
→ ‘Sylvester 1912 is -82 years ago’, in case the year of the actual system date is 1994.
%B[date]
Is replaced by an age value, e.g.:
The text ‘My %B1962 birthday%i1952#2062’ will be expanded to
→ ‘My 32 birthday’, in case the year of the actual system date is 1994.
Those age values are only displayed, if the computation of an age value is greater zero. The fixed date warning in preceding example is displayed only in case the current year is greater than 1952 and less than 2062.
%>1&*B[date]
Is replaced by an age value with trailing Ordinal Number suffix, e.g.:
The text ‘My %>1&*B1962 birthday%i1952#2062’ will be expanded to
→ ‘My 32nd birthday’, in case the year of the actual system date is 1994.
Those age values are only displayed, if the computation of an age value is greater zero. The fixed date warning in preceding example is displayed only in case the current year is greater than 1952 and less than 2062.