Versions Compared

Key

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

Overview

DateTimeOffset Calendar myCalendar.GetToday(timeZone: string)

...

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

...

Example

Code Block
languagejsxml
<Date1>2017-01-25T16:04:40.5625645Z</Date1>
<Date2>2017-01-25T18:04:40.5625645+02:00</Date2>

Examples

...

Code Block
languagejs
$Calendar.GetToday('').toISOString();
Code Block
languagejs
$Xml.SetValue('Date1', $Calendar.GetToday(''));
$Xml.SetValue('Date2', $Calendar.GetToday('02:00'));

...

languagejs

...

See Also