Time Value Option
Defines a time value option.
Value options are used to specify additional time values, which appear as buttons.
They use the same time syntax as the time Value attribute.
The special value * can be used as a wildcard option.
Attributes
Field
Value
Specifies the value of the field.
The format is specified by the Data Format attribute.
"now" sets the current time.
Time math expressions support chained offsets and one rounding step, for example now+1h, now/h, or now+90m/h.
Absolute anchors can use value||math, for example 15:30||/h.
Time units are h=hour, m=minute, s=second, ms=millisecond.
Attribute Values
| Value | Description | Example |
|---|---|---|
| <string> | Value of the field formatted as specified in Data Format. | 15:30 |
| now | Default value. Current time of the browser. | |
| [+|-][h|m|s|ms] | Relative time, where h=hour, m=minute, s=second, ms=millisecond. | +1h |
| now/m | Start of the current minute. |
The default value is: now.
Common
Label
Specifies the label of the option.
Attribute Values
| Value | Description |
|---|---|
| <string> | Label of the option. |
Icon
Specifies the icon of the option.
Attribute Values
| Value | Description |
|---|---|
| <icon> | Icon of the option. |