...
Template | Outputs | Culture |
---|---|---|
{{ MyDate }} | 01/31/2014 16:04:12 +02:00 | |
{{ format(MyDate,'dd/MM/yyyy') }} | 31/01/2014 | |
{{ format(MyDate) }} | 31.1.2014 09:00 | tr-TR |
{{ format(MyDate,'o') }} | 2014-01-31T09:00:00+02:00 |
Scripting example
Code Block |
---|
var myNode = $Xml.Parse("<Customer><Name>John</Name><BirthDate>2014-01-31T09:00:00+02:00</BirthDate></Customer"); var result = myNode.Format('<p>Birth date : {{Customer/BirthDate}}</p>'); // result : <p>Birth date : 01/31/2014 09:00:00 +02:00</p> |
...