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


Gcal 3.01

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

G.2.1.7 Month number %[format]M[date] special text

%M[date]
Is replaced by the month number of the current month of year, e.g.:

The text `Month %M , %n' will be expanded to
==> `Month 2, 22-Feb-1996', in case the actual system date is the 22nd February 1996.

%>02*M[date]
Is replaced by the 2-digit month number with leading zero of the current month of year, e.g.:

The text `Month %>02*M000001 , %n' will be expanded to
==> `Month 01, 22-Feb-1996', in case the actual system date is the 22nd February 1996.

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

The text `Month %>1&*M , %n' will be expanded to
==> `Month 2nd, 22-Feb-1996', in case the actual system date is the 22nd February 1996.

%>02&*M[date]
Is replaced by the 2-digit month number with leading zero and trailing Ordinal Number suffix of the current month of year, e.g.:

The text `Month %>02&*M , %n' will be expanded to
==> `Month 02nd, 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