User Tools

Site Tools


ftime

Differences

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

Link to this comparison view

ftime [2007/03/02 02:32] (current)
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 (external edit)