[DUG] Reading binary data as date/time from registry
John Bird
johnkbird at paradise.net.nz
Fri May 14 12:40:20 NZST 2010
I am pretty certain that 30/12/1899 is a unique start point for Delphi -
other systems (Unix and Windows) look to start at 1970 or 1980. I am
guessing as I haven't dealt with registry dates that you need to do
something similar to a file datestamp - FileDatetoDateTime and/or
FileTimeToSystemTime API
I saw some code examples at
http://www.efg2.com/Lab/Library/Delphi/DatesAndTimes/index.html
which appear to back this up (about 1/4 way down the page). Is the date
value likely to be a windows integer date/timestamp?
John
More information about the Delphi
mailing list