Initializing help system before first use

datefmt

Description
Define the text format for both reading and writing a date.
Type
String, read/write
Default value
"%.y-%0m-%0d"
Note
The date format consists in a text string in which the date information (like day number) is specified using tags. A tag begins by the character "%" optionally followed by "." or "0" and a character indicating which specific information must be provided. The possible values are:
C  Century
Y  Year number in the century
y  Year
m  Month (1-12)
N  Name of month according to parameter monthnames
d  Day (1-31)
%  The symbol "%"

If the second character is used, the corresponding information is produced in fixed format with space ( ".") or zero ( "0") as the padding character. For instance, the day 1 will be displayed as "1" with the format "%d"; as " 1" with "%.d" and as "01" with "%0d".
See also
Module