User Tools

Site Tools


ftime

# $EPIC: ftime.txt,v 1.3 2007/03/02 02:32:04 jnelson Exp $

Synopsis:

$ftime(<file>)

Technical:

The <file> argument is a dword which is different from most functions.

This function gets the last modified time (mtime) of a file, and returns it in seconds since the epoch.

Returns:

when the file was last modified

Example:

eval echo $stime($ftime(/usr/local/bin/irc))

"Tue Oct 21 23:30:54 1997"
ftime.txt · Last modified: 2007/03/02 02:32 (external edit)