| www.delorie.com/gnu/docs/gcal/gcal_57.html | search |
![]() Buy GNU books! | |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
%[format]?[date] special texts
The following weekday number
%[format]?[date]
special texts are respected, e.g.:
%W[date]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |