If you are wondering how you can manage dates and times in the BDM and user interfaces, the How-to available in the official documentation will help you.
To manage dates and times in the BDM and User Interfaces, Bonita comes with 3 types of data that you can manipulate through processes, APIs and user interfaces (forms/pages):
The type DATE ONLY
It is used to hold a date with no time of the day. Use it for birth dates for example.
It is stored in the database as an ISO 8601 formatted Character String (e.g. "2017-01-13").
It uses java.time.LocalDate
as Java type.
The type DATE-TIME (NO TIME ZONE)
It is used to hold a date-time that displays the same whatever the user's time zone is. It can be used it for stores opening hours, or flight departure and arrival days and times, for example.
It is stored in the database as an ISO 8601 formatted Character String (e.g. "2017-01-13T13:00:00").
It uses java.time.LocalDateTime
as Java type.
The type DATE-TIME (TIME ZONE)
It is used to hold a date-time whose displayed value should adapt to the user's time zone (e.g., the day and time of a meeting with participants from multiple time zones).
It is stored in database as an ISO 8601 formatted Character String (e.g.,2017-01-13T13:00:00Z). It uses java.time.OffsetDateTime
as Java type.
This how-to page gives a step-by-step procedure to create a process with forms that allow to choose a date (with or without a time) and then display it, leveraging each of these data types.