This function converts a text with a certain format into a timestamp.
stringToDate(text, timeZone) #Output: Number
Variant where you can manually define the date-time pattern. Read more about date-time patterns.
stringToDate(text, dateTimePattern ) #Output: Number