in reply to Re^3: Timezone Conversion
in thread Timezone Conversion
I begrudgingly accepted the increased computation cost of two conversions for code that was easier to read and maintain.I have found over time that I normalize input (in this case local TZ => UTC), and regionalize output (UTC => local TZ) -- all data inside of the system is in normalized form. Needing to deal with only one TZ internally to the system is much easier than dealing with unnormalized data anywhere it is encountered.
--MidLifeXis
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Timezone Conversion
by marinersk (Priest) on Nov 16, 2015 at 22:01 UTC | |
|
Re^5: Timezone Conversion
by oiskuu (Hermit) on Nov 16, 2015 at 23:16 UTC |