Just working with kendoDateTimePicker... I have a startdate and an enddate, both working wit DateTimePicker. After entering both I have to evaluate if endtime is bigger than starttime. I'm able to get year, month and day by:
That works fine even if month (getMonth()) comes back with a month number 1 lower than expected. Example:
January: 0 (expected: 1)
December: 11 (expected: 12)
It looks like that these functions starts counting the months of the year by 0 and not by 1, maybe thats wanted.
So the main question is: How can I get time out of kendoDateTimePicker (hours and minutes)? I couldn't find functions like getHour() or getMinute(). In hope it would somehow helps I have added: parseFormats: ["MMMM yyyy", "HH:mm"]