std::timestamp¶
func to_date¶
func to_date(timestamp: Timestamp, time_zone: Text): Date
Computes the local date of a timestamp at a timezone.
func sub¶
func sub(Timestamp, Timestamp): Duration
Computes the elapsed Duration between two Timestamps.
Result is a - b: positive when a is later than b.