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


G.2.1.2 Weekday number %[format]?[date] special texts

The following weekday number %[format]?[date] special texts are respected, e.g.:

%W[date]

Is replaced by the weekday number of the current day, and which is determined by the Monday≡1…Sunday≡7 counting method, e.g.:

The text ‘Today is weekday %W , the %n will be expanded to
→ ‘Today is weekday 1, the 10-Jun-1996, in case the actual system date is the 10th June 1996.

%>1&*W[date]

Is replaced by the weekday number with trailing Ordinal Number suffix of the current day, and which is determined by the Monday≡1…Sunday≡7 counting method, e.g.:

The text ‘Today is weekday %>1&*W0@t+1 , the %n+1 will be expanded to
→ ‘Today is weekday 2nd, the 11-Jun-1996, in case the actual system date is the 10th June 1996.

%E[date]

Is replaced by the weekday number of the current day, and which is determined by the Monday≡0…Sunday≡6 counting method, e.g.:

The text ‘Today is weekday %E , the %n will be expanded to
→ ‘Today is weekday 0, the 10-Jun-1996, in case the actual system date is the 10th June 1996.

%>1&*E[date]

Is replaced by the weekday number with trailing Ordinal Number suffix of the current day, and which is determined by the Monday≡0…Sunday≡6 counting method, e.g.:

The text ‘Today is weekday %>1&*E , the %n will be expanded to
→ ‘Today is weekday 0th, the 10-Jun-1996, in case the actual system date is the 10th June 1996.

%I[date]

Is replaced by the weekday number of the current day, and which is determined by the Sunday≡1…Saturday≡7 counting method, e.g.:

The text ‘Today is weekday %I , the %n will be expanded to
→ ‘Today is weekday 2, the 10-Jun-1996, in case the actual system date is the 10th June 1996.

%>1&*I[date]

Is replaced by the weekday number with trailing Ordinal Number suffix of the current day, and which is determined by the Sunday≡1…Saturday≡7 counting method, e.g.:

The text ‘Today is weekday %>1&*I , the %n will be expanded to
→ ‘Today is weekday 2nd, the 10-Jun-1996, in case the actual system date is the 10th June 1996.

%J[date]

Is replaced by the weekday number of the current day, and which is determined by the Sunday≡0…Saturday≡6 counting method, e.g.:

The text ‘Today is weekday %J , the %n will be expanded to
→ ‘Today is weekday 1, the 10-Jun-1996, in case the actual system date is the 10th June 1996.

%>1&*J[date]

Is replaced by the weekday number with trailing Ordinal Number suffix of the current day, and which is determined by the Sunday≡0…Saturday≡6 counting method, e.g.:

The text ‘Today is weekday %>1&*J , the %n will be expanded to
→ ‘Today is weekday 1st, the 10-Jun-1996, in case the actual system date is the 10th June 1996.

%S[date]

Is replaced by the weekday number of the current day, and which is determined by the starting day of week≡1…ending day of week≡7 counting method (see Calendar option --starting-day=argument), e.g.:

The text ‘Today is weekday %S , the %n will be expanded to
→ ‘Today is weekday 4, the 10-Jun-1996, in case the actual system date is the 10th June 1996 and Friday (≡5) is the starting day of week.

%>1&*S[date]

Is replaced by the weekday number with trailing Ordinal Number suffix of the current day, and which is determined by the starting day of week≡1…ending day of week≡7 counting method (see Calendar option --starting-day=argument), e.g.:

The text ‘Today is weekday %>1&*S , the %n will be expanded to
→ ‘Today is weekday 4th, the 10-Jun-1996, in case the actual system date is the 10th June 1996 and Friday (≡5) is the starting day of week.

%T[date]

Is replaced by the weekday number of the current day, and which is determined by the starting day of week≡0…ending day of week≡6 counting method (see Calendar option --starting-day=argument), e.g.:

The text ‘Today is weekday %T , the %n will be expanded to
→ ‘Today is weekday 3, the 10-Jun-1996, in case the actual system date is the 10th June 1996 and Friday (≡5) is the starting day of week.

%>1&*T[date]

Is replaced by the weekday number with trailing Ordinal Number suffix of the current day, and which is determined by the starting day of week≡0…ending day of week≡6 counting method (see Calendar option --starting-day=argument), e.g.:

The text ‘Today is weekday %>1&*T , the %n will be expanded to
→ ‘Today is weekday 3rd, the 10-Jun-1996, in case the actual system date is the 10th June 1996 and Friday (≡5) is the starting day of week.


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