Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SqlMethods.DateDiffMinute Method

Counts the number of minute boundaries between two specified dates.

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

  Name Description
Public method Static member DateDiffMinute(DateTime, DateTime) Counts the number of minute boundaries between two non-nullable dates.
Public method Static member DateDiffMinute(Nullable<DateTime>, Nullable<DateTime>) Counts the number of minute boundaries between two nullable dates.
Public method Static member DateDiffMinute(DateTimeOffset, DateTimeOffset) Counts the number of minute boundaries between two non-nullable dates.
Public method Static member DateDiffMinute(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>) Counts the number of minute boundaries between two nullable dates.
Top

Corresponds to the SQL Server DATEDIFF function; using minute to specify the type of time boundary crossed. For more about this SQL Server function, see DATEDIFF in the Microsoft SQL Server Books Online.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.