0
rvanwoezik created
ASP.NET CORE & ANGULAR V11.1.0
I have added DateOfBirth to the entity user
When saving the date to the database, for instance 2010-3-13, it's saved to sql as 2013-3-12 22:00
And then displayes in the client as 2013-3 -12 instead fo 2013-3-13
I think this is caused by timezoneconverter, how to overrule this?
Thanks in advance
2 Answer(s)
-
0
Hi,
You can use https://aspnetboilerplate.com/Pages/Documents/Timing#disable-datetime-normalization. In that case, AspNet Zero will not modify your Date values for this operation.
-
0
Thnx!