> I need to get filelists from many HDD-s with more props. of files. > I used FindFilesW to get these informations. > > But I have a problems with it. > When I used Find_Data tuple, and it's atime,ctime,mtime props, I get > wrong result. > > I have hungarian Windows (XP), so little time diff. I have. > > These method I use to get local time: > > timeval=localtime(int(pytime)) > pv=strftime('%Y.%m.%d %H:%M:%S',timeval) > > pytime is a PyTime object that I get from the tuple.
I'm guessing it is related to the GMT offset. The MSDN docs for the FILETIME structure say: Furthermore, FAT records times on disk in local time. However, NTFS records times on disk in UTC. For more information ... Otherwise I'm afraid I have no idea... Mark _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32