| CargoFunctionsDateDiff(NullableDateTime, NullableDateTime) 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(
DateTime? dt1,
DateTime? dt2
)
Public Shared Function DateDiff (
dt1 As DateTime?,
dt2 As DateTime?
) As Integer
Dim dt1 As DateTime?
Dim dt2 As DateTime?
Dim returnValue As Integer
returnValue = CargoFunctions.DateDiff(dt1,
dt2)
public:
static int DateDiff(
Nullable<DateTime> dt1,
Nullable<DateTime> dt2
)
static member DateDiff :
dt1 : Nullable<DateTime> *
dt2 : Nullable<DateTime> -> int
Parameters
- dt1 NullableDateTime
- date 1.
- dt2 NullableDateTime
- date 2.
Return Value
Int32See Also