Versions Compared

Key

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

...

Code Block
$Xml.SetValue('Test/testdate', new DateTimeOffset());  // testdate will be saved to XML as "2015-11-12T15:27:16.2568549+02:00"
$Xml.SetValue('Test/testdatetestdate2', $Xml.Format("{{ format(Test/testdate,'dd/MM/yyyy') }}"));  // testdate2 will be saved to XML as "2015-12-11T00:00:00+02:00"

// resultĀ : 2015-12-11T00:00:00+02:00

...