
Half to document what I now believe and half to share my findings, I’m going to do a short post that shows the implications of changing the DateTimeKind parameter of a DateTime field in a WebAPI controller. That is, a WebAPI controller can return it’s results as JSON and the data that is DateTime gets converted based on some rules that for me were not clear. First, let me state my conclusion (for those with short attention spans), then I’ll show the data and include the visual studio 2012 project I used to make this. DateTimeKind.Local 013-10-05T13:00:00-07:00 (Has Timezone) DateTimeKind.Utc 2013-10-05T13:00:00Z (Has Z) DateTimeKind.Unspecifed … Continue Reading

