Truncates a date to the beginning of the specified period
Last updated 3 years ago
DATETRUNC(date, date part)
date
date part
Truncate a date, or a series of dates, to the date part specified on input.
Argument
Description
Date/time value(s)
Part of the date/time value(s) to truncate by
Date(s) corresponding to the start of the period specified by date part