« Back to Product

Documentation

SelectDateTime

Require: IP-Symcon >= 5.0

Creates an input for a date and time with the caption caption.

Example

If created in the "elements" area, the property name is set to a JSON-coded object, which contains the following parameters:

Parameter Description
day Day of the date
hour Hours of time
minute Minutes of time
month Month of the date
second Seconds of time
year Year of the date

If no time was selected, all parameters are set to 0.

Parameters

Parameter Description
caption Visible caption
enabled (optional) (default: true) If true, the selection can be used, otherwise it is displayed as deactivated (since IP-Symcon 5.2)
name (optional) Name of the selection/the property to be set
type SelectDateTime
value (optional) (default: no time selected) The value of the selection - If there is an associated property, this parameter will be overwritten by the property in the elements area (since IP-Symcon 5.2)
visible (optional) (default: true) If true, the selection is visible, otherwise it is invisible (since IP-Symcon 5.2)
width (optional) (default: 300px) Fixed width of the input field in pixels or % as a string, e.g. "40%" or "250px" (since IP-Symcon 5.3)

Example

{ "type": "SelectDateTime", "name": "PropertyDateTime", "caption": "Date + Time" }
Any questions?