...
Specifies the date time value that will be subtracted from start parameter.
Returns
Code Block | ||
---|---|---|
| ||
var hours = await $Calendar.SubtractAsync(DateTimeOffset.parse('2017-01-25T15:00'), DateTimeOffset.parse('2017-01-25T13:00'));
// hours will be set to 2 |