The Date Control API allows working in-depth with the date values. It can also limit the weekdays the user can choose or set the available date interval.
Date Control API can be used in the JavaScript OnLoad event, as well as any other JavaScript event.
Date Control API Methods
Method |
Description |
Sets the Date control value. |
|
Gets the Date control value as a Date object. |
|
Get the Date control value as a Moment.js object. |
|
Sets the allowed days of the week. |
|
Sets the allowed dates interval. |
|
Gets the allowed dates interval, returns the JavaScript Date array. |
See also: