Versions Compared

Key

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

...

Code Block
languagejs
//adds 3 years to the current date and returns DateTimeOffset object.

$Calendar.AddYearsAsync(new DateTimeOffset(), 3, function(newDate) {
   console.log(newDate);
});

See Also