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: [email protected]
> [mailto:[email protected]] On
> Behalf Of Robert
> Sent: Thursday, July 02, 2009 5:07 PM
> To: [email protected]
> Subject: [python-win32] File Time: win32file vs Python ?
>
>
> >>> 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?
>
> R
>
> _______________________________________________
> python-win32 mailing list
> [email protected]
> http://mail.python.org/mailman/listinfo/python-win32
_______________________________________________
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32