Inno Setup Preprocessor: GetFileDateTimeString

Inno Setup Preprocessor

Inno Setup Preprocessor: GetFileDateTimeString

Prototype

str GetFileDateTimeString(str, str, str, str)

Description

The function returns the date and time of the specified file as a string using the specified formatting.

The first parameter is the file name. The second, third and fourth parameters denote the format string, DateSeparator and TimeSeparator parameters as explained in the GetDateTimeString topic.

Example

#define MyFileDateTimeString GetFileDateTimeString('myfile.txt', 'dd/mm/yyyy hh:nn:ss', '-', ':');