Skip to content

Supported Dateparts

You can use the following dateparts as arguments to the following functions:

DatepartAliasesNotes
epochNot supported for DATEADD.
millenniummillennia
centurycenturies, cent, c
decadedecades, decs
yearyears, yrs, yr, y
quarterqtr
monthmonths, mons
weekweeks, w
daydays, d
dowNot supported for DATEADD.
doyNot supported for DATEADD.
isodowNot supported for DATEADD.
isoyear
hourhours, hrs, hr, h
minuteminutes, mins, min, m
secondseconds, secs, sec, s
microsecondmicroseconds
millisecondmilliseconds, ms

Dateparts can be specified in uppercase or lowercase.

Parent topic:Datetime Functions