Skip to content

TimeMacroType enum

Represents some predefined values for TimeMacro

public enum Korzh.EasyQuery.TimeMacroType
: Enum, IComparable, IFormattable, IConvertible
ValueNameDescription
0TodayRepresents the current date
1YesterdayRepresents the yesterday date
2TomorrowRepresents the tomorrow date
3FirstDayOfWeekRepresents the first day of the current week
4FirstDayOfNextWeekRepresents the first day of the next week
5FirstDayOfPrevWeekRepresents the first day of the previous week
6FirstDayOfMonthRepresents the first day of the current month
7FirstDayOfPrevMonthRepresents the first day of the previous month
8FirstDayOfNextMonthRepresents the first day of the next month
9LastDayOfMonthRepresents the last day of the current month
10FirstDayOfYearRepresents the first day of the current year
11FirstDayOfNextYearRepresents the first day of the next year
12FirstDayOfPrevYearRepresents the first day of the last year
13NowRepresents the current time
14HourStartRepresents zero minute and second of the current hour
15MidnightRepresents the midnight of the current day
16NoonRepresents the noon of the current day