$fagec, $fagem functions

$fagec(path)
$fagem(path)

The $fagec and $fagem functions return the age, in seconds, of the passed passed-in path, i.e., the number of seconds since the file was created or modified, respectively. If path is empty or refers to a non-existing file or folder, the result is an empty string.

If the file in question was installed by InstallMate, then:

Parameters

All parameters may contain symbolic references; these are resolved before the function is applied. See Examples below.

path
File or folder path of which to calculate the age

Examples

Here are some usage examples for this function:

<$fagem(<INSTALLDIR>\data.txt)> > 86400
A conditional expression that is True if the file was modified more than 1 day (24 * 60 * 60 seconds) ago.