ParseDate parses a date string according to a formatter defined with the NewDateFormatter function.
A date value that is either serial or UNIX, depending on the formatter specified, is returned. If the date cannot be parsed then an undefined value is returned. This can be tested with the ISUND function.
This function is valid in TM1® TurboIntegrator processes only.
ParseDate (DateString, <Pattern>, <Index>)
A date string.
Pattern used for parsing dates.
Refer to https://unicode-org.github.io/icu/userguide/format_parse/datetime for a complete list of format syntax.
If an empty string is passed, then the format is determined by the locale based on the FormatterStyle and FormatterType parameters that were used with the NewDateFormatter function.
Index returned by a call to the NewDateFormatter function. The default value is 0. If no date formatter exists at the index, then a default formatter is used as though it had been created with the following call:
nDate = ParseDate('2011/11/24', 'yyyy/MM/dd');