DateTimePicker
<DateTimePicker> controls are used to create a date and time picker.
Note:
Please note that the date format depends on the language of the used browser (e.g. German: 31.3.2025 / US English: 03/31/2025).
The following additional attributes can be defined for the <DateTimePicker> element:
| Attribute | Description |
|---|---|
value | Value that is displayed and saved.
Possible values:
|
format | Format in which the time is displayed and stored. Possible values:
|
background | Defines the background color of the control.
Possible values:
|
displayName | Control title.
Possible values: Any string |
enabled | Defines whether the user can interact with the control.
Possible values:
The attribute
enabled replaces the obsolete attribute disabled. enabled="true" thus corresponds to the obsolete attribute
disabled="false".
|
fontFamily | Defines the font family.
Possible values:
|
fontSize | Defines the font size.
Possible values:
|
fontStretch | Defines the width of each character.
This attribute overrides the default width of the characters for this control.
Possible values:
This attribute does not work for the elements |
fontStyle | Defines the font style.
This attribute overrides the default font style for this control.
Possible values:
This attribute does not work for the elements |
fontWeight | Defines the font weight.
This attribute overrides the default font weight for this control.
Possible values:
This attribute does not work for the |
foreground | Defines a colour for the foreground (texts etc.) of the control.
Possible values:
|
horizontalAlign | Direction in which the elements flow. The order of the elements corresponds to their declaration. Possible values:
|
textOverflow | Specifies what should happen when the control is full. Possible values:
|
visible | Defines whether the control is visible.
Possible values: |