Difference between revisions of "FTIME()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Helen.george (Talk | contribs) |
||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Function to return the time a file was last modified | Function to return the time a file was last modified | ||
− | |||
==Syntax== | ==Syntax== | ||
FTIME(<expC>) | FTIME(<expC>) | ||
− | |||
==See Also== | ==See Also== | ||
[[DISKSPACE()]], [[FDATE()]], [[FILE()]], [[LUPDATE()]], [[SET CENTURY]], [[SET DATE]], [[SET MARK]], [[SET PATH]] | [[DISKSPACE()]], [[FDATE()]], [[FILE()]], [[LUPDATE()]], [[SET CENTURY]], [[SET DATE]], [[SET MARK]], [[SET PATH]] | ||
− | |||
==Description== | ==Description== | ||
The FTIME() function returns, from the operating system, the time that the specified file was last modified. The file name is specified as character expression <expC> and may contain the full pathname. The file will be searched for in the current directory and any directories specified with the SET PATH command. The character expression <expC> may not contain wildcard characters. If the file specified by <expC> is open, the FTIME() function returns the latest modification date since the last time the file was closed. | The FTIME() function returns, from the operating system, the time that the specified file was last modified. The file name is specified as character expression <expC> and may contain the full pathname. The file will be searched for in the current directory and any directories specified with the SET PATH command. The character expression <expC> may not contain wildcard characters. If the file specified by <expC> is open, the FTIME() function returns the latest modification date since the last time the file was closed. | ||
− | |||
==Example== | ==Example== | ||
Line 21: | Line 17: | ||
</code> | </code> | ||
− | |||
− | |||
− | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] |
Latest revision as of 11:55, 7 December 2012
Contents
Purpose
Function to return the time a file was last modified
Syntax
FTIME(<expC>)
See Also
DISKSPACE(), FDATE(), FILE(), LUPDATE(), SET CENTURY, SET DATE, SET MARK, SET PATH
Description
The FTIME() function returns, from the operating system, the time that the specified file was last modified. The file name is specified as character expression <expC> and may contain the full pathname. The file will be searched for in the current directory and any directories specified with the SET PATH command. The character expression <expC> may not contain wildcard characters. If the file specified by <expC> is open, the FTIME() function returns the latest modification date since the last time the file was closed.
Example
? ftime("main.prg") 11:51:38