PDA

View Full Version : [Help] DateTime from js to c#



Master15
Oct 19, 2019, 4:32 AM
Hello!!
I have testing the datefield and datecolumn and then a try to pass the value to directmethod (code behind) the dates get for example,
2019-10-19T03:00:00Z... why its return a hours (03)... old version return its zero hour (00)... i see it in version 5++

Its a bug or any configuration??
I have tested put in Application_Start a line "Ext.Net.JSON.GlobalSettings.DateTimeZoneHandling = Newtonsoft.Json.DateTimeZoneHandling.Local;" and in Web.config in section extnet a dateTimeZoneHandling="Local"..

What I do?