C#/.NET Little Wonders – The DateTimeOffset struct

added by BlackRabbitCoder
3/9/2012 9:39:53 AM

4 Kicks, 248 Views

While the DateTime is a powerful structure for parsing, manipulating, and comparing date-times, it becomes problematic when handling times from different time-zones. The DateTimeOffset is much more portable in that it preserves the offset from UTC.


3/8/2012 6:41:29 PM
new post

3/9/2012 9:39:58 AM
Microsoft's Azure was bitten by a leap-year bug this year, they should probably read this article ;-)