DatePart Enum

All : 0

The entire DateStart will be considered. DateTime objects returned for DateStart

Year : 1

Corresponds to the integer year (eg 2017) - int objects returned for DateStart

Month : 2

Corresponds to the integer month (1 = January) - int objects returned for DateStart

See values at POSCorePublic.Models.Reports.Aggregates.Query.Dimensions.DatePartMonth

Day : 4

Corresponds to the integer day of month (1 = first day of month) - int objects returned for DateStart

DayOfWeek : 5

Corresponds to the integer day of week (1 = Sunday) - int objects returned for DateStart.

See values at POSCorePublic.Models.Reports.Aggregates.Query.Dimensions.DatePartDayOfWeek

Week : 6

Corresponds to the integer week number within the year (1 = week that contains Jan 1) - int objects returned for DateStart

Hour : 7

Corresponds to the integer 24 hour component of PeriodStart (0 = midnight) - int objects returned for DateStart

Minute : 8

Corresponds to the integer minute component of PeriodStart (0 = first minute in hour) - int objects returned for DateStart