ibec_FileDateTime

Returns the TIMESTAMP of a specified file.

Syntax

 function ibec_FileDateTime(FileName : string) : variant;

Returns the TIMESTAMP of a specified file. If the file doesn't exist ibec_FileDateTime returns NULL.

This function supports Unicode (UTF8) file names. You can still use ANSI names, necessary checks and conversion are performed automatically.

Example

  execute IBEBlock
  returns (cout varchar(100))
  as
  begin
     cout = ibec_FileDateTime('d:\mydata.csv');
    suspend;
  end

<< ibec_MoveFile | IBEBlock | ibec_SetFileDateTime >>