Enum DatePart
Specifies the component of a date or time value used in date arithmetic functions such as DateAdd and DateDiff.
public enum DatePart
Fields
Year = 0Year component.
Month = 1Month component.
Day = 2Day component.
Hour = 3Hour component.
Minute = 4Minute component.
Second = 5Second component.