Difference between revisions of "FTIME()"

From Recital Documentation Wiki
Jump to: navigation, search
(Class)
 
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
Line 25: Line 23:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital Server, Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]

Latest revision as of 16:04, 2 December 2009

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


Products

Recital Server, Recital