Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

Promise<DateTimeOffset> CalendarmyCalendar.GetDateTimeAsync(relativeDate: string, offset: ( Date | DateTimeOffset ))

...

Specifies the offset value for relative date time. Optional, if not specified current date time is used.

Returns

...

Code Block
languagejs
var nextDate = await $Calendar.GetDateTimeAsync('PT2H', DateTimeOffset.parse('2023-02-08T17:00'));
// nextDate will be set to '2020-02-09T09:00'