SubtractAsync¶
Subtracts a DateTimeOffset value from another and returns the difference in hours asynchronously.
1 | |
Parameters¶
DateTimeOffset start
Specifies the base DateTimeOffset value.
DateTimeOffset end
Specifies the DateTimeOffset value that will be subtracted from the start parameter.
Returns¶
A Promise that resolves to the number of hours between the start and end parameters.
Remarks¶
Example¶
1 2 | |