Skip to content

TO_DAYS

TO_DAYS(timestamp_val)

Computes the difference in days between the input timestamp, and year 0 of the Gregorian calendar