DateAndTime.DateDiff Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns a Long value specifying the number of time intervals between two Date values.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticDateDiff(DateInterval, DateTime, DateTime, FirstDayOfWeek, FirstWeekOfYear)

Returns a Long value specifying the number of time intervals between two Date values.

System_CAPS_pubmethodSystem_CAPS_staticDateDiff(String, Object, Object, FirstDayOfWeek, FirstWeekOfYear)

Returns a Long value specifying the number of time intervals between two Date values.

Return to top
Show: