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


Gcal 3.01

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

G.2.1.3 Day-of-year number %[format]N[date] special text

%N[date]
Is replaced by the day-of-year number of the current day of year, e.g.:

The text `Day %N of year, the %n' will be expanded to
==> `Day 53 of year, the 22-Feb-1996', in case the actual system date is the 22nd February 1996.

%>03*N[date]
Is replaced by the 3-digit day-of-year number with leading zeroes of the current day of year, e.g.:

The text `Day %>03*N0@t-1 of year, the %n-1' will be expanded to
==> `Day 052 of year, the 21-Feb-1996', in case the actual system date is the 22nd February 1996.

%>1&*N[date]
Is replaced by the day-of-year number with trailing Ordinal Number suffix of the current day of year, e.g.:

The text `Day %>1&*N of year, the %n' will be expanded to
==> `Day 53rd of year, the 22-Feb-1996', in case the actual system date is the 22nd February 1996.

%>03&*N[date]
Is replaced by the 3-digit day-of-year number with leading zeroes and trailing Ordinal Number suffix of the current day of year, e.g.:

The text `Day %>03&*N of year, the %n' will be expanded to
==> `Day 053rd of year, the 22-Feb-1996', in case the actual system date is the 22nd February 1996.


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