www.delorie.com/gnu/docs/gcal/gcal_59.html   search  
 
Buy GNU books!


Gcal 3.01

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [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.


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003