setShowTime (Client API reference)
Specify whether a date control should show the time portion of the date.
Control types supported
standard control for datetime attributes.
Syntax
formContext.getControl(arg).setShowTime(bool);
Parameter
Name | Type | Required | Description |
---|---|---|---|
bool |
Boolean | Yes | Specify true to show the time portion of the date; false otherwise. |
Remarks
This method will show or hide the time component of a date control where the attribute uses the DateAndTime format. This method will have no effect when the DateOnly format is used.
Related articles
Feedback
Submit and view feedback for