Versions Compared

Key

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

...

Promise<DateTimeOffset> Calendar.GetTodayAsync(timeZone: string)

Arguments

string timeZone
Specifies the target time zone for current date in "hh:mm" format. Optional, if not specified system timezone information is used.

Example

Code Block
languagejs
$Calendar.GetTodayAsync().then(function(today) {
if ( $Xml.Evaluate('OldDate') < today.toISOString() ) {
// ...
}
});

...