Export (0) Print
Expand All

DateInterval Enumeration

Indicates how to determine and format date intervals when calling date-related functions.

Namespace:  Microsoft.VisualBasic
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

'Declaration
Public Enumeration DateInterval

Member nameDescription
YearYear
QuarterQuarter of year (1 through 4)
MonthMonth (1 through 12)
DayOfYearDay of year (1 through 366)
DayDay of month (1 through 31)
WeekOfYearWeek of year (1 through 53)
WeekdayDay of week (1 through 7)
HourHour (1 through 24)
MinuteMinute (1 through 60)
SecondSecond (1 through 60)

When you call date-related functions, you can use enumeration members in your code in place of the actual values.

The DateInterval enumeration defines constants used with date-related functions to identify how date intervals are determined and formatted. The following table lists the DateInterval enumeration members.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft