date
date(text: String) : Date
Obtains a Date from a String that represents a date according to the ISO 8601 standard. For example,
date("1929-10-29") returns a Date that represents October 29, 1929.
This function will raise an error if the String deviates from the ISO 8601 standard for dates or if the String is
absent.
date(timestamp: Timestamp) : Date
Obtains a Date from a Timestamp by returning the date portion of a Timestamp when placed in the UTC timezone.
This function will raise an error if the resulting date exceeds the range of Date or if the Timestamp is absent.