RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDateTime::FileDate Method

Converts the date/time value to an OS date/time stamp.

Pascal
function FileDate: Integer;
C++
__fastcall int FileDate() const;

Use System::TDateTime::FileDate to convert a System::TDateTime::TDateTime value to an OS date/time stamp. For example, use System::TDateTime::FileDate to convert a System::TDateTime::TDateTime value to a format that can be used as the Age parameter of FileSetDate. You may also need to use System::TDateTime::FileDate to convert a System::TDateTime::TDateTime so that it is compatible with the Time field of the TSearchRec structure used by the FindFirst and FindNext functions. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!