{{tag>Function Function_List Files}} ====== FILE_LAST_MODIFIED ====== ===== Description ===== Returns the date when the specified file was last modified ===== Syntax ===== ''FILE_LAST_MODIFIED (path)'' Cannot be used in the condition of a [[:ref:a_f:a:find|FIND]] action. ===== Parameters ===== An expression returning a string identifying a file or directory name ===== Returns ===== **Date**: the date the file was last modified ===== Example ===== DISPLAY MESSAGE ('File modified ' + AS_STRING(FILE_LAST_MODIFIED('c:/myfile.txt'))) ===== Related ===== [[ref:a_f:f:af:file_exists|FILE_EXISTS]], [[ref:a_f:f:af:file_size|FILE_SIZE]], [[ref:a_f:f:af:as_string|AS_STRING]]