Daylight savings time problem
D'Arcy J.M. Cain
darcy at druid.net
Wed Mar 26 17:14:57 EDT 2008
On Wed, 26 Mar 2008 20:45:47 -0000
Grant Edwards <grante at visi.com> wrote:
> On 2008-03-26, Salsa <durieux_br at yahoo.com.br> wrote:
>
> > I'm sorry, but could you be more specific? How exactly should I use UTC?
>
> In my experience, using local time for timestamps is always a
> big mistake, so I presume he meant don't use local time in the
> file names -- put the UTC date/time in the filenames.
Yes. One problem with using local times is that once a year you can
overwrite files. The best option is to use the number of seconds since
EPOCH and let programs convert it to UTC or local time as required.
--
D'Arcy J.M. Cain <darcy at druid.net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.
More information about the Python-list
mailing list