Syntax
set aDateTime = aString.parseLocalDateTimeExpression(aFormat);
SemanticsparseLocalDateTimeExpression()initializes a DateTime object from a string using the given format expression. The format expression is a string with placeholders for date/time variables (see Date and Time Formatting). The time zone is always the local one. If the string does not match with the given format, an exception will be thrown.
SubstitutablesaDateTime Can be any variable or object attribute having the type DateTime.
aFormat Can be any variable or object attribute having the type String. The formatting rules can be found in Date and Time Formatting.
aString Can be any variable or object attribute having the type String
Examples
set aDateTime = aString.parseLocalDateTimeExpression("%D %H");