Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Displaying File Times 1

Status
Not open for further replies.

Glenn9999

Programmer
Jun 19, 2004
2,311
US
Another question: I'm trying to figure out how to display file times (like in TSearchRec), and I'm not finding answers. Could someone point to me how to get the time off of TSearchRec correctly?
 
Will the fileage(filname) function do what you want?
I use it to check for new versions of a file being copied.

Steve [The sane]: Delphi a feersum engin indeed.
 
use the FileDateToDateTime function to convert the values to have the correct TDateTime values.

-----------------------------------------------------
What You See Is What You Get
Never underestimate tha powah of tha google!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top