Date Time
- Last UpdatedJun 25, 2024
- 5 minute read
Use Date Time control to select a date and time in your form.
Properties
The properties for the control are grouped under the following tabs:
Basic
|
Property |
Description |
|---|---|
|
Name |
Name that identifies the control. This value is also used for the label of the control. |
|
XML Node |
XML node mapped to the control. Use this value to map a list to a form and a form to a workflow.
Note: |
|
Description |
Description for the control. |
|
Tooltip |
Message that appears when the pointer hovers over the control. |
|
Default Value |
The default value for the control. Note: Ensure the value is within the Minimum Value and the Maximum Value. |
Appearance
|
Property |
Description |
|---|---|
|
Enable |
Enable or disable the control.
|
|
Visible |
Show or hide the control.
|
|
Read-Only |
Allow or deny a user to enter a value for the control.
|
|
Label Position |
Position of the label for the control.
Note: |
|
Label-Control Area |
Area occupied by the label and the control in percentage.
Note: |
|
Width |
Width in pixels for the control. The default value is 0. Note: If the value is 0, then the width of the control is set as per the default values. |
|
Retain Space |
Reserve or remove space when the control is hidden.
|
Validation
|
Property |
Description |
|---|---|
|
Mandatory |
Enforce or bypass entering a value for the control.
|
|
Minimum Value |
Minimum date and time value for the control. |
|
Maximum Value |
Maximum date and time value for the control. |
Advanced
|
Property |
Description |
|---|---|
|
On Data Change |
Run a script when value of the control changes. For more information, see scripting guidelines for On Data Change property. |
|
ID |
Reference identification code for the control. This value is automatically generated and cannot be changed. |
|
Date Format |
Date format for the control. For example, MM/dd/yyyy. Always use M for month. The default value is taken from the current server culture. For more information, see Date and Time Formats. Note: |
|
Time Format |
Time format for the control. For example, hh:mm:ss tt. Use HH for 24-hour time. The default value is taken from the current server culture. For more information, see Date and Time Formats. Note: |
|
Time Interval |
Interval between two consecutive time slots to show in the list for the control. |
|
Include in Summary |
Allow or deny a user to view the value in the Summary of a Base Form.
Note: |
Scripts
For information about using scripts, see scripting guidelines for Date Time control.
Note:
- Value is saved in the Universal Coordinated Time (UTC) format.
- The Display Values are based on the browser time zone.
- Format and culture are taken from the current server.
- However, if the Date Format and the Time Format are specified, then the given formats are used but applied using the current server
culture.