How to specify that DateTime objects retrieved from EntityFramework should be DateTimeKind.UTC [duplicate]
No, there’s not. And it’s actually DateTimeKind.Unspecified. However, if you are concerned about supporting multiple timezones, you should consider using DateTimeOffset. It’s like a regular DateTime, except that it does not represent a “perspective” of time, it represents an absolute view, in which 3PM (UTC – 3) equals 4PM (UTC – 2). DateTimeOffset contains both …