Hi
I am loading (trying to) data from my db for the scheduler.
http://dojo.telerik.com/uNupe
I cannot find any documentation of how the date format should arrive from the database to be displayed properly.
In above example the Date() function is used like this:
dataSource: [
{
id: 1,
start: new Date("2013/6/6 08:00 AM"),
end: new Date("2013/6/6 09:00 AM"),
title: "Interview"
}
]
I do now want to create data on the fly so how to format the date so Kendo Scheduler understands? Preferably YYYYMMddhhmmss - 20130606142023
I have also seen that in some of your examples you plug in data with date strings like this:
"Start": "/Date(1370847600000)/",
"End": "/Date(1370851200000)/",
Those appear on the 10th of June but I cannot figure out how?
Thanks
I am loading (trying to) data from my db for the scheduler.
http://dojo.telerik.com/uNupe
I cannot find any documentation of how the date format should arrive from the database to be displayed properly.
In above example the Date() function is used like this:
dataSource: [
{
id: 1,
start: new Date("2013/6/6 08:00 AM"),
end: new Date("2013/6/6 09:00 AM"),
title: "Interview"
}
]
I do now want to create data on the fly so how to format the date so Kendo Scheduler understands? Preferably YYYYMMddhhmmss - 20130606142023
I have also seen that in some of your examples you plug in data with date strings like this:
"Start": "/Date(1370847600000)/",
"End": "/Date(1370851200000)/",
Those appear on the 10th of June but I cannot figure out how?
Thanks