RLPlot's internal storage of date- and time data is a floating point number representing days after 1-Jan-1900 starting with 1. The decimals give the fraction of the day. Thus the 5-Jan-2006 equals to 38721, and 5-Jan-2006 12:00:00 equals to 38721.5. Thus a time value alone is in the range 0.0 - 1.0, 12:00:00 equals to 0.5. The conversion between internal values and a human readable form is controlled by formats, text strings where each character stands for a specific conversion of the date- and time value. Characters not included inthe table below are either copied to the output or ignored during input.
|
Char. | Description | Type1) | Char. | Description | Type1) | ||||
Y | four digits year | I/O | y | two digits year | I/O | ||||
X | full name of month | I/O | x | three character month name | I/O | ||||
V | two digits month | I/O | v | same as V, no leading zero | I/O | ||||
W | single character month | O | |||||||
Z | two digits day of month | I/O | z | same as Z, no leading zero | I/O | ||||
D | full name of weekday | O | d | three character weekday name | O | ||||
E | two digits weekday | O | e | same as E, no leading zero | O | ||||
F | single character weekday | O | |||||||
H | two digits hours | I/O | h | same as H, no leading zero | I/O | ||||
M | two digits minutes | I/O | m | same as M, no leading zero | I/O | ||||
S | two digits seconds | I/O | s | same as S, no leading zero | I/O | ||||
T | seconds, two decimals | I/O | t | same as T, no leading zero | I/O | ||||
1) format specifier is available for input and output (I/O) or only for output (O) |
Examples: | Format | Display |
Z.V.Y | 05.01.2006 | |
v/z/Y | 1/5/2006 | |
d z-x-y | Thu 5-Jan-06 | |
D H:M | Thursday 12:00 |