Skip to main content

Date

This is a date and date time picker component.

Use it to select dates, with or without times. Allow dates and times to be added or edited in a human readable way with configurable formats, including picking dates and times from a calendar.

Examples

Basic

Loading...

Format and Time

Loading...

Properties

note

This component uses a Data Source.

:::palette-item com.flowable.design:flowable-core-palette,com.flowable.design:flowable-core-palette com/flowable/palette/core.form.palette,com/flowable/palette/form.template.palette cloud-date

Formats

This component uses date values in different formats:

  • today current date
  • PNumPeriod relative date, where P is fixed, Num is any number and Period is a letter correspondig to Day, Month or Year. For example:
    • P-12D means subtract 12 days from the current date
    • P2M means add 2 month to the current date
    • P15Y means add 15 years to the current date
  • 2018-03-21 exact date

In order to format values this component uses Moment.js string format. For example: YYYY-MM-DD, D/M/YY or dddd at HH:mm

For using date formatting inside expressions, see section Expressions.