[python-win32] File Time: win32file vs Python ?

2009-07-02 Thread Robert
os.path.getmtime('x.txt') 1193160881 int(win32file.GetFileAttributesExW('x.txt')[-2]) 1193153681 int(win32file.GetFileAttributesExW('x.txt')[-2]) - os.path.getmtime('x.txt') -7200 (Win XP) is this a bug, or is there a issue with timezones/summer time? aren't time.time() values absolute?

Re: [python-win32] File Time: win32file vs Python ?

2009-07-02 Thread Tim Roberts
Robert wrote: os.path.getmtime('x.txt') 1193160881 int(win32file.GetFileAttributesExW('x.txt')[-2]) 1193153681 int(win32file.GetFileAttributesExW('x.txt')[-2]) - os.path.getmtime('x.txt') -7200 (Win XP) is this a bug, or is there a issue with timezones/summer time? aren't time.time()

Re: [python-win32] File Time: win32file vs Python ?

2009-07-02 Thread Paul Koning
Maybe one is defined to return local time while the other returns the time value as UTC? I don't have the docs, but they should tell... paul -Original Message- From: python-win32-bounces+pkoning=equallogic@python.org