SqlMethods.DateDiffDay Method (Nullable(Of DateTime), Nullable(Of DateTime))
Counts the number of day boundaries between two nullable dates.
Assembly: System.Data.Linq (in System.Data.Linq.dll)
'Declaration Public Shared Function DateDiffDay ( _ startDate As Nullable(Of DateTime), _ endDate As Nullable(Of DateTime) _ ) As Nullable(Of Integer)
Corresponds to the SQL Server DATEDIFF function; using day to specify the type of time boundary crossed. For more about this SQL Server function, see DATEDIFF in the Microsoft SQL Server Books Online.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.