datefmt


Description
Define the text format for both reading and writing a date.
Type
String, read/write
Default value
"%.y-%0m-%0d"
Notes
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:
Century
Year number in the century
Year
Month (1-12)
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


If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.