The dateTimeLib.timestampValueWithPattern() system function returns a TIMESTAMP value that reflects a string and can be built using a timestamp pattern that you specify. For example, if the pattern is "yyyy", the input string must contain four digits, and those digits must represent the year value in the TIMESTAMP.
EGL first attempts to use the specified pattern (if any) to create the TIMESTAMP. If you do not provide a pattern, the function behaves in the same way as dateTimeLib.timestampValue(); it assumes a pattern of "yyyyMMddHHmmss".
dateTimeLib.timestampValueWithPattern( timestampAsString STRING? in [, timestampPattern STRING? in ]) returns (result TIMESTAMP?)