Hi Sergiy,
We suggest you to set “timeZone” value depending on your culture to overcome the issue. It is necessary to add UTC value based on your culture to meet your requirement.
Please find the code snippets.
$("#Schedule1").ejSchedule({
timeZone:"UTC
+5:30", //To set timeZone based on culture
width: "100%",
height: "525px",
appointmentSettings: {
dataSource: dManager,
id: "Id",
subject: "Subject",
startTime: "StartTime",
endTime: "EndTime",
allDay: "AllDay",
recurrence: "Recurrence",
recurrenceRule: "RecurrenceRule"
}
});
The below code snippet will explain on how to bind date, start time and end time to schedule control. Here, we have passed start time as 17:00 and end time as 17:30 to get the schedule appointment at the given time.
window.Default = [{
Id: 100,
Subject: "Bering Sea Gold",
StartTime: new Date(new Date("2015-11-08").getTime()
+ 86400 * 1000 * -
2).setHours(17, 00), // Setting starttime,date and end time
EndTime: new Date(new Date("2015-11-09").getTime()
+ 86400 * 1000 * -2).setHours(17, 30),
AllDay: false,
Recurrence: true,
RecurrenceRule: "FREQ=DAILY;INTERVAL=2;COUNT=10"
}];
We have a prepared a sample and please find the sample from the following location.