hi,

I noticed recently that the value of file date/time I get with python:
time.strftime('%Y-%m-%d %H:%M', time.gmtime(os.stat(fullname).st_mtime))
is forwarding by one hour the real file date/time.

Example:
file A.txt: 2009-01-18 16:13
returned valeur:  2009-01-28 15:13

Is there a simple way to get it work correctely  (other than adding always 1
hour ...) ?

thanks
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to