Indy 9
GetInternetFormattedFileTimeStamp
Unit: IdGlobal
Returns the file creation timestamp for a given file.
function GetInternetFormattedFileTimeStamp(const AFilename: String): String;
Unit
IdGlobal
Parameters
const AFilename: String
Name of the file to use for the file creation timestamp.
Return Value
String - File creation timestamp in Internet format.
Description
GetInternetFormattedFileTimeStamp is a String function that returns the file creation date for the file name specified in AFilename. GetInternetFormattedFileTimeStamp returns a string formatted in the following layout:

    Sun, 8 Jul 2001 01:02:03 -0500

Note: GetInternetFormattedFileTimeStamp is defined for the Windows platform only.


Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.