Thank you for contacting Syncfusion support.
We have prepared the sample to both Date and Time picker separately instead DateTime picker which can be download from the below location.
Kindly refer the below code example used in the sample.
<Code>
function onAppointmentWindowOpen(args) {
args.cancel = true;
$("#StartDate").ejDatePicker({ value: ej.format(args.startTime, this._datepattern(), this.model.locale) });
$("#EndDate").ejDatePicker({ value: ej.format(args.endTime, this._datepattern(), this.model.locale) });
$("#StartTime").ejTimePicker({ value: ej.format(args.startTime, this._pattern.t, this.model.locale) });
$("#EndTime").ejTimePicker({ value: ej.format(args.endTime, this._pattern.t, this.model.locale) });
if (!ej.isNullOrUndefined(args.target)) {
if ($(args.target.currentTarget).hasClass("e-alldaycells") || this._allDay) {
$("#allday").prop("checked", true);
alldayCheck();
}
else
args.model.currentView == "month" ? $("#allday").prop("checked", true) : $("#allday").prop("checked", false);
$("#StartTime,#EndTime").ejTimePicker({ enabled: ($(args.target.currentTarget).hasClass("e-alldaycells") || $(args.target.currentTarget).hasClass("e-monthcells") || args.model.currentView == "month") ? false : true });
}
if (!ej.isNullOrUndefined(args.appointment)) {
$("#customId").val(args.appointment.Id);
$("#subject").val(args.appointment.Subject);
$("#customdescription").val(args.appointment.Description);
$("#StartDate").ejDatePicker({ value: ej.format(args.appointment.StartTime, this._datepattern(), this.model.locale) });
$("#EndDate").ejDatePicker({ value: ej.format(args.appointment.EndTime, this._datepattern(), this.model.locale) });
$("#StartTime").ejTimePicker({ value: ej.format(args.appointment.StartTime, this._pattern.t, this.model.locale) });
$("#EndTime").ejTimePicker({ value: ej.format(args.appointment.EndTime, this._pattern.t, this.model.locale) });
$("#allday").prop("checked", args.appointment.AllDay);
$("#recurrence").prop("checked", args.appointment.Recurrence);
if (args.appointment.Recurrence) {
$("#rType").val(args.appointment.RecurrenceRule.split(";")[0].split("=")[1].toLowerCase());
$("tr.recurrence").css("display", "table-row");
}
}
$("#customWindow").ejDialog("open");
if (this._allDay) alldayCheck();
}
</Code>
Regards,
Karthigeyan