Date
Overview
Formats a given timestamp, or the current time (for Code-Blocks are only available within the browser-values), based on various additional hints, such that its appearance becomes aligned with the desired scheme.
<date
format: string(null)
↪ Pattern to format the date with
↪ See: https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html
zone: string(null)
↪ Zone-Id to offset the timestamp with
↪ See: https://docs.oracle.com/javase/8/docs/api/java/time/ZoneId.html
/>
Examples
Current Time
When not supplying a value, or the value evaluates to null, the current time will automatically be used.
Code-Blocks are only available within the browserCustom Stamp
To render a supplied value, simply provide it as a UNIX timestamp; this time, we're also going to employ the default format - but with a custom zone.
Code-Blocks are only available within the browser