Re: getting file creation date from NTFS
Re: getting file creation date from NTFS
- Subject: Re: getting file creation date from NTFS
- From: "Paul Sanders" <email@hidden>
- Date: Mon, 24 May 2010 10:42:33 +0100
> The docs don't really *have to* say, though, because it's the only choice that makes any sense.
Of course they do. Ambiguity like this just leads to confusion. And I know it's off topic, but I can't let your assertion that "Windows actually bases everything off local time" pass without comment. The Win32 'native' file API's (and the internals of Windows) are all UTC based. It's the implementation of stat in the Visual C runtime library that explicitly converts file times retrieved from the OS to local time. You can see this in the runtime library source code. It's easy once you know where to look. You can even step through it in the debugger.
It's true that Windows runs the CMOS clock in local time, but that is a detail. It has nothing to do with the behaviour of stat, however flawed that might be.
Paul Sanders.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden