...
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 | ||
---|---|---|
| ||
$Calendar.GetTodayAsync().then(function(today) { if ( $Xml.Evaluate('OldDate') < today.toISOString() ) { // ... } }); |
...