Skip to main content

Time format

Mandatory properties

PropertyTypeDescription
formatstringThe format used to convert a time to a text. The format is expressed using regular characters and/or date and time components surrounded by curly braces .

Optional properties

PropertyTypeDescription
offsetstringAn offset to apply to the time, e.g. to generate a best-before date.

Example:

{
"format": "{year}-{month}-{dayofmonth}{LF}{hour}:{minute}:{second}",
"offset": ""
}