DTREAD (Command)

DTREAD(string),variableY,variableM,variableD is a command which takes a string representing a date (as the  system variable), and sets the variables to the year, month, and day-of-month represented by the string.

In particular, the string must be 10 characters long, the fifth and seventh characters must be " ", and the remaining characters must be digits. The year can have any value from  to , and the month and date can have any value from   to  , so it will parse strings which do not actually represent a valid date.

See also TMREAD (command).