UtilDateTimeTimeDiff Method
Calculates the difference between two intervals of time.
Namespace: DevCase.Core.DateAndTimeAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static TimeSpan TimeDiff(
TimeSpan startTime,
TimeSpan endTime
)
Public Shared Function TimeDiff (
startTime As TimeSpan,
endTime As TimeSpan
) As TimeSpan
Dim startTime As TimeSpan
Dim endTime As TimeSpan
Dim returnValue As TimeSpan
returnValue = UtilDateTime.TimeDiff(startTime,
endTime)
public:
static TimeSpan TimeDiff(
TimeSpan startTime,
TimeSpan endTime
)
static member TimeDiff :
startTime : TimeSpan *
endTime : TimeSpan -> TimeSpan
No code example is currently available or this language may not be supported.
- startTime TimeSpan
-
The start time.
- endTime TimeSpan
-
The end time.
TimeSpan
A
TimeSpan that contains the time difference.
This is a code example.
No code example is currently available or this language may not be supported.
Dim ts1 As TimeSpan = TimeSpan.FromHours(0)
Dim ts2 As TimeSpan = TimeSpan.FromHours(1)
Dim diff As TimeSpan = UtilDateTime.TimeDiff(ts1, ts2)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.