Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetFileTime ?
Message
From
10/03/2000 12:15:25
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00344165
Message ID:
00344285
Views:
25
>Just some additional info you may or may not be aware of. I just took a look at this, and part of what's written here is known and part is deduction from what I've seen.
>
>What's known is that the last access date/time is meaningless in terms of the time portion. It'll always be midnight.
>
>What's a deduction is that, apparently, the only place that milliseconds is used is the creation date/time. I've tested 3 different files. In each case the creation date time was down to the millisecond. The last write date time showed zero in terms of milliseconds for all three cases. I think it's a pretty remote possibility that all three would be zero if this wasn't the case. Further, according to the MSDN Library description of the GetFileTime() function, the creation date/time is accurate to within 10 millseconds, but on NTFS files systems the last write date/time is accurate to within 2 seconds. This seems to support my conclusion.


George,
Just checked a few files on w2000. All 3 return milliseconds (but accuracy ?). All the ones that I played with setfiletime return correct info up to millisecond.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform