Versions Compared

Key

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

...

Code Block
languagejs
//adds 2 days to the current date and returns DateTimeOffset object.
var newDate = await $Calendar.AddDaysAsync($Calendar.Today, 2).then(function(newDate) {
console.log(newDate);
});

See Also