News for hackers. Stuff that matters.
Re:Dealing with Timezones in Python by the_mitsuhiko on Friday July 15, 2011 @07:13AM (#2766969)
> My rule is to either work with integer Unix timestamps or timezone-aware datetime objects. A naive datetime object is, well, naive. If it's the number of seconds since the Epoch, represent it as a number, not an object.

The object is basically just a wrapper around that number anyways. From the programmer's perspective there is not really a difference.

There are no comments on this comment yet.