Site Tools


ftime
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


ftime [2007/03/02 02:32] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +# $EPIC: ftime.txt,v 1.3 2007/03/02 02:32:04 jnelson Exp $
 +======Synopsis:======
 +$__ftime__(%%<file>%%)
 +
 +======Technical:======
 +The %%<file>%% argument is a [[what is a word|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:======
 +<file>
 +eval echo $stime($ftime(/usr/local/bin/irc))
 +
 +"Tue Oct 21 23:30:54 1997"
 +</file>
  
ftime.txt · Last modified: 2007/03/02 02:32 by 127.0.0.1