DateTime
Displays a date/time picker for selecting date, time, or an interval.
Key | Type | Description | Required | Default | Min Version |
---|---|---|---|---|---|
min | number | Minimum interval | – | 0 | – |
max | number | Maximum interval | – | FLOAT_MAX | – |
minuteInterval | integer | Step in minutes | – | 1 | – |
mode | string | Picker mode | – | datetime | – |
format | string | Time format (ISO8601) | – | nil | – |
This component does not support label
/icon
. Use Group
to add headings/descriptions.
mode | Description |
---|---|
datetime | Date & time picker |
date | Date picker |
time | Time picker |
interval | Time interval picker |
Return Type | Condition | Description |
---|---|---|
integer | format == nil | Unix timestamp or seconds for interval |
string | #format > 0 | Formatted string per format |
See Unicode Date Format Patterns: https://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_Patterns
Example
{
cell = "DateTime";
key = "datetime1";
};