Hi Robert,
Thanks for contacting Syncfusion support.
Yes, it is possible to set the desired date time as a maximum date time value in the DateTimePicker control. You can achieve this requirement using “maxDateTime” Property. Please refer to the below code snippet.
[html]
<input type="text" id="datetime" />
[script]
$("#datetime").ejDateTimePicker({ value: date, dateTimeFormat: "d/M/yyyy tt h:mm:ss", maxDateTime: new Date("12/31/9999 12:00:00 PM") }); |
We have modified the provided sample in the below JSPlayground link.
For more information about properties, methods, events in DateTimePicker, please refer to,
Please revert if you need any further assistance.
Regards,
Francis Paul A