TIMESHOWSTORE{...} -- show formatted time and store it
Displays a formatted date and time. The time is either given as a string or my a named TimeCalcPlugin storage variable. The resulting time can be stored in a storage variable.
Format of the displayed date. The tokens are specified Time Format Tokens below
format defined by the {DefaultDateFormat} setting in configure
time="time"
time can be in any format defined in System/TimeSpecifications (time is ignorred), or it can be the name of a TimeCalcPlugin storage name prefixed by a '$'. E.g. $myvar
time now
delta="relative time"
The plugin accepts any relative time that the CPAN library Time::ParseDate can handle. E.g. "-3 months" , "last Monday", "+2 days", "next Wednesday", "2 weeks"
0
store="variablename"
Name of a variable in which the calculated date is stored. This variable can be used in another TimeCalcPlugin macro as an input date
none
Example: %TIMESHOWSTORE{"$year-$mo-$day date="23 Nov 2010" store="$myvar"}% displays 2010-11-23 and stored the date in myvar.