Skip to main content

The FlowerDocs data model allows you to define tags of type DATE.

Stored value

The stored value of a DATE tag is the timestamp associated with the date. This timestamp corresponds to the number of milliseconds elapsed since 1st January 1970 UTC. In the case of a date prior to this reference date, the number of milliseconds is negative.

Display format

Although the value of a DATE tag is stored as a timestamp, it can be displayed in different ways.


Configuring the format in which a date is displayed allows you to define how it will be presented to users.

This configuration can be carried out using the pattern field at the level of a tag class or tag reference, and accepts the following formats:

NameDescriptionExample
DATE_FULLFull dateFriday 23rd October 2020
DATE_LONGLong date23rd October 2020
DATE_MEDIUMMedium date23rd Oct. 2020
DATE_SHORTShort date23/10/2020
DATE_TIME_FULLFull date + timeFriday 23rd October 2020 00:00:00 UTC+2
DATE_TIME_LONGLong date + time23rd October 2020 00:00:00 UTC+2
DATE_TIME_MEDIUMMedium date + time23 Oct. 2020 00:00:00
DATE_TIME_SHORTShort date + time23/10/2020 00:00
ISO_8601ISO 86012020-10-23T00:00:00.000+02:00
RFC_2822RFC 2822Fri, 23 Oct 2020 00:00:00 +0200