DateAndTime.DateDiff Method

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

Name Description
DateAndTime.DateDiff (DateInterval, DateTime, DateTime, FirstDayOfWeek, FirstWeekOfYear) Returns a Long value specifying the number of time intervals between two Date values.

Supported by the .NET Compact Framework.

DateAndTime.DateDiff (String, Object, Object, FirstDayOfWeek, FirstWeekOfYear) Returns a Long value specifying the number of time intervals between two Date values.

Supported by the .NET Compact Framework.

For more detailed information, see the Visual Basic topic DateDiff Function (Visual Basic).

Community Additions

ADD
Show: