Currently, our application uses local time, not UTC. I know that it is important to use UTC, but I canโt remember why.
Assuming that DateTimes are stored with an offset, when comparing local time with UTC time or with another time with a different time zone, of course, will any library used know about different time zones and mutate two objects into something that can be compared?
As long as the offset is passed using DateTime (for example, it will use objects, not strings), I don't understand why this matters. Why should I deal with 2014-09-01T13:44:13+00:00 and not 2014-09-01T14:44:13+01:00 ? In fact, saving as UTC loses offset information (local time when the time was announced).
What am I missing here?
Context: we have limited errors individually, and I thought: โaha: move all things to UTCโ, but then I realized that I was just looking at the code converting a bunch of DateTime objects to use the UTC timezone, and it seemed empty to me a waste of time.
source share