Date issue Win98 vs NT
Stan Cook
scook at elp.rr.com
Tue Jul 1 23:50:10 EDT 2003
Has anyone else had this or a similar problem and is there a workaround?
This piece of code:
from time import gmtime, strftime
_log = _log + "\\" + strftime("%m%d%y", gmtime()) + ".log"
produces a file with the name 'today's date.log' on NT, but creates a file
called 'tomorrow's date.log' on Windows 98. I would really like to know
why this happens. Any help offered is very much appreciated.
Thanks,
Stan
More information about the Python-list
mailing list