I am currently using the following guidelines to get a file's "LastAccessTime" with Delphi http://www.latiumsoftware.com/en/delphi/00007.php
Using FindNext, have access to a TSearchRec object from which I can access ftLastWriteTime which is of type TFileTime
when converting this to a TDateTime object (using the above source) and then outputting DateTimeToString I get the date and time out but the hour seems to be the sum of the two digits in the files ftLastWriteTime hour value.
i.e instead of getting 2009/09/03 13:45 I get 2009/09/03 04:45 or instead of 2009/09/03 17:45 I get 2009/09/03 08:45
Any comments are most welcome, thanks in advance