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)

public enum class DateInterval
public enum DateInterval
public enum DateInterval

 Member nameDescription
Supported by the .NET Compact FrameworkDayDay of month (1 through 31) 
Supported by the .NET Compact FrameworkDayOfYearDay of year (1 through 366) 
Supported by the .NET Compact FrameworkHourHour (1 through 24) 
Supported by the .NET Compact FrameworkMinuteMinute (1 through 60) 
Supported by the .NET Compact FrameworkMonthMonth (1 through 12) 
Supported by the .NET Compact FrameworkQuarterQuarter of year (1 through 4) 
Supported by the .NET Compact FrameworkSecondSecond (1 through 60) 
Supported by the .NET Compact FrameworkWeekdayDay of week (1 through 7) 
Supported by the .NET Compact FrameworkWeekOfYearWeek of year (1 through 53) 
Supported by the .NET Compact FrameworkYearYear 

For more detailed information, see the Visual Basic topic DateInterval Enumeration.

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.

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

.NET Compact Framework

Supported in: 2.0, 1.0