GetDateTimeAsync¶
Returns the next valid date and time, according to calendar rules, after adding a given duration.
1 |
|
Parameters¶
string relativeDate
The duration string to add.
( Date | DateTimeOffset ) offset
Specifies the offset value for relative date time. Optional, if not specified, the current date time is used.
Returns¶
A Promise that resolves to a DateTimeOffset representing the next valid date and time by calendar rules.
Remarks¶
Example¶
1 2 |
|
See Also¶
- Promise<DateTimeOffset>
- DateTimeOffset