DateTime.parseString()
Signature
DateTime parseString (String date, String format)
Domain
ACTION, CONDITION, QUERY, BUI
Description
Parses the date
provided in the string according to the format and returns it as a DateTime with default time zone.
Parameters
Name | Type | Description |
date | String | 3 digits millisecond is required if parsing millisecond. i.e. $103-11-2004 14:59:04.250$1 is correct, $103-11-2004 14:59:04.25$1 is not valid. |
format | String | A String containing a format describing how the date should be parsed. e.g. $1MM-dd-yyyy HH:mm:ss$1, $1MM-dd-yyyy HH:mm:ss.SSS$1. |
Returns
Type | Description |
DateTime | The result DateTime. |
See Also
java.text.SimpleDateFormat