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


Gcal 3.01

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

G.2.1.8 Year number %[format]Y[date] special text

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

The text `Year %Y , %n' will be expanded to
==> `Year 933, 22-Feb-0933', in case the actual system date is the 22nd February 933.

%>04*Y[date]
Is replaced by the 4-digit complete year number with leading zeroes of the current year, e.g.:

The text `Year %>04*Y0015 , %n' will be expanded to
==> `Year 0015, 22-Feb-0933', in case the actual system date is the 22nd February 933.


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