Expand description
Convert a temporal value to a coarser unit with an explicit rounding mode.
cast performs only the temporal conversions that are exact for every valid value. A coarser
unit can drop part of a count, so this function makes the caller choose a TemporalRounding.
Structsยง
- Change
Time Unit - Convert a
Date,Time, orTimestampto a coarser unit. - Change
Time Unit Options - Options for
ChangeTimeUnit.