TimestampFromDateTime function
Returns a time stamp from the given date and time.
Namespace
datetime
Input
date(time|string), time(time|string)
Output
timestamp(timestamp)
Example
If basedate contains the date 2008–08–18 and basetime contains the time 22:30:52, then the two following functions are equivalent, and return the timestamp 2008–08–18 22:30:52
set-column result datetime:TimestampFromDateTime('2008–08–18', '22:30:52')
set-column result datetime:TimestampFromDateTime(basedate, basetime)
Created in 2020 by Google Inc.