- May
- 608
- 4
@DATECONV currently converts from the default format to the specified format.
Shouldn't there be an input format specifier as well as an result form specifier? Without one, how would one convert, for example, from format 2 to format 5 on a system whose default is format 1?
Suppose I read a date as 01-02-03 from a file known to be in format 2, but I want in ISO weekday format (5). The correct result is 2003-W05-6, but trying this on a system with default format 1 produces 2003-W01-4.
Rex, please consider adding an optional third parameter to indicate the INPUT format, if different from the system's default.
Shouldn't there be an input format specifier as well as an result form specifier? Without one, how would one convert, for example, from format 2 to format 5 on a system whose default is format 1?
Suppose I read a date as 01-02-03 from a file known to be in format 2, but I want in ISO weekday format (5). The correct result is 2003-W05-6, but trying this on a system with default format 1 produces 2003-W01-4.
Rex, please consider adding an optional third parameter to indicate the INPUT format, if different from the system's default.