The function DateTimeLib.timestampValueWithPattern returns a TIMESTAMP value that reflects a string constant or literal and (optionally) is built based on a timestamp mask that you specify. If the mask is "yyyy", for example, the input string must contain four digits, and those digits represent the year value in the timestamp.
DateTimeLib.timestampValueWithPattern( timestampAsString STRING in [, timestampMask STRING in ]) returns (result TIMESTAMP)
Related concepts
Syntax diagram for EGL functions
Related reference
Datetime expressions
TIMESTAMP