Export (0) Print
Expand All

DateAndTime.DateDiff Method

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Static member Supported by the .NET Compact Framework DateDiff(DateInterval, DateTime, DateTime, FirstDayOfWeek, FirstWeekOfYear) Returns a Long value specifying the number of time intervals between two Date values.
Public method Static member Supported by the .NET Compact Framework DateDiff(String, Object, Object, FirstDayOfWeek, FirstWeekOfYear) Returns a Long value specifying the number of time intervals between two Date values.
Top

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

Community Additions

ADD
Show:
© 2014 Microsoft