| CargoFunctionsDateDiff(NullableDateTimeOffset, NullableDateTimeOffset) Method |
This is preliminary documentation and is subject to change.
Returns the difference (dt1 - dt2) between 2 dates expressed as a value in days from one date to the other.
Namespace: WikiClientLibrary.Cargo.LinqAssembly: WikiClientLibrary.Cargo (in WikiClientLibrary.Cargo.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax public static int DateDiff(
DateTimeOffset? dt1,
DateTimeOffset? dt2
)
Public Shared Function DateDiff (
dt1 As DateTimeOffset?,
dt2 As DateTimeOffset?
) As Integer
Dim dt1 As DateTimeOffset?
Dim dt2 As DateTimeOffset?
Dim returnValue As Integer
returnValue = CargoFunctions.DateDiff(dt1,
dt2)
public:
static int DateDiff(
Nullable<DateTimeOffset> dt1,
Nullable<DateTimeOffset> dt2
)
static member DateDiff :
dt1 : Nullable<DateTimeOffset> *
dt2 : Nullable<DateTimeOffset> -> int
Parameters
- dt1 NullableDateTimeOffset
- date 1.
- dt2 NullableDateTimeOffset
- date 2.
Return Value
Int32See Also