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


Gcal 3.01

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

G.2.2.2 Textual date %n[argument] special text

%n[[+|-]n] references the current respectively queried day number relative to the current date `+/-' n days and is replaced by a date text by using the fixed `%>02*D-%>3#U-%>04*Y' format, e.g.:

The resource file line `1962Sep21 10000 days old: %n+10000' will be expanded to
==> `10000 days old: 06-Feb-1990', in case you call Gcal with the simple `-c' option and the command `sep 1962' (see section Single command `mm yyyy').


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