The util.Date class / util.Date methods |
Converts a string to a DATE value according to a format specification.
util.Date.parse( src STRING, fmt STRING ) RETURNING res DATE
The util.Date.parse() method parses a string according to a format specification, to produce a DATE value.
The format specification must be a combination of dd, mm, yyyy place holders as with the USING operator.
The method returns NULL, if the source string cannot be converted to a DATE value according to the format specification.
For more details about the supported formats, see Formatting DATE values.
IMPORT util MAIN DISPLAY util.Date.parse( "2014-03-15", "yyyy-mm-dd" ) END MAIN