Using the datetime picker I am getting a different value back between IE and firefox:
in IE i get Thu Oct 18 10:05:56 UTC+0100 2012
in Firefox i get Thu Oct 18 2012 10:06:26 GMT+0100 (GMT Daylight Time)
Chrome is the same as firefox
I am using the following to get the value:
var ImpDate = $("#dpimp").data("kendoDateTimePicker").value();
Why is this happening, it is causing me problems on my webservice as i am trying to convert the kendo date into a c# date by doing the following:
ImpDate = ImpDate.Remove(24);
DateTime dtImpDate = DateTime.ParseExact(ImpDate, "ddd MMM dd yyyy HH:mm:ss", CultureInfo.CurrentCulture);
And obviously with the IE format being different it fails.
in IE i get Thu Oct 18 10:05:56 UTC+0100 2012
in Firefox i get Thu Oct 18 2012 10:06:26 GMT+0100 (GMT Daylight Time)
Chrome is the same as firefox
I am using the following to get the value:
var ImpDate = $("#dpimp").data("kendoDateTimePicker").value();
Why is this happening, it is causing me problems on my webservice as i am trying to convert the kendo date into a c# date by doing the following:
ImpDate = ImpDate.Remove(24);
DateTime dtImpDate = DateTime.ParseExact(ImpDate, "ddd MMM dd yyyy HH:mm:ss", CultureInfo.CurrentCulture);
And obviously with the IE format being different it fails.