|
|
|
|
|
by HideousKojima
1959 days ago
|
|
.NET's DatetimeOffset class does this really well, and what's nice is you can access the local system's timezone database to convert it to whatever the local time was in that timezone for a given date (it's aware of when DST or timezone changes occured). I'm sure several other languages have similar tools too. It doesn't solve every conceivable timezone issue, but it solves 99% of the problems most developers would have with it. |
|