Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SqlMethods.DateDiffMillisecond Method

Counts the number of millisecond 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 Supported by Silverlight for Windows Phone DateDiffMillisecond(DateTime, DateTime) Counts the number of millisecond boundaries between two non-nullable dates.
Public method Static member Supported by Silverlight for Windows Phone DateDiffMillisecond(Nullable<DateTime>, Nullable<DateTime>) Counts the number of millisecond boundaries between two nullable dates.
Public method Static member Supported by Silverlight for Windows Phone DateDiffMillisecond(DateTimeOffset, DateTimeOffset) Counts the number of millisecond boundaries between two non-nullable dates.
Public method Static member Supported by Silverlight for Windows Phone DateDiffMillisecond(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>) Counts the number of millisecond boundaries between two nullable dates.
Top

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

Community Additions

ADD
Show:
© 2015 Microsoft