This is a migrated thread and some comments may be shown as answers.

DateTime is set to 1/1/0001 12:00:00 AM, displayed on grid correctly

4 Answers 951 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 28 Oct 2013, 05:04 PM
When the date is displayed on the grid it is:
Fri Oct 25 2013 15:15:09 GMT-0400 (Eastern Daylight Time)

When I get it back on the controller method it is:
1/1/0001 12:00:00 AM

Why is it changing the date and time?

4 Answers, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 30 Oct 2013, 09:38 AM
Hi Matt,

 
From the provided information it seems that the dates are send in incorrect format to the controller - could you please check if the "aspnetmvc" script is included in the project? Also If the script is available we will need runable example where the issue is reproduced to investigate further.

Kind Regards,
Vladimir Iliev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Matt
Top achievements
Rank 1
answered on 30 Oct 2013, 12:55 PM
I included the js file but it didn't fix the issue.  I'll get a project for you after I fix the more pressing issue I have which is the 2 dropdownlist ticket I submitted for help a couple of days ago
0
Vladimir Iliev
Telerik team
answered on 01 Nov 2013, 11:32 AM
Hi Matt,

 
I will leave the thread open and wait for your reply. 

Kind Regards,
Vladimir Iliev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Ale
Top achievements
Rank 1
answered on 17 Dec 2013, 07:36 AM
Any news for this problem?
Tags
Grid
Asked by
Matt
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Matt
Top achievements
Rank 1
Ale
Top achievements
Rank 1
Share this question
or