I have a variable called TrackingDate
with the type datatime2(7)
in sql-server and Nullable<DateTime>
in c#. when calling my GET
method this is what I get in my JsonResult response:
TrackingDate: "/Date(1563271286005)/"
But the value in my table is actually "2019-07-16 14:31:26.0053912"
What's the problem?