Difference between revisions of "FDATE()"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
==Class==
 
Disk and File Utilities
 
 
 
 
==Purpose==
 
==Purpose==
 
Function to return the last modification date of a file
 
Function to return the last modification date of a file
Line 27: 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 17:23, 27 November 2009

Purpose

Function to return the last modification date of a file


Syntax

FDATE(<expC>)


See Also

DISKSPACE(), FILE(), FTIME(), LUPDATE(), SET CENTURY, SET DATE, SET MARK, SET PATH


Description

The FDATE() function returns, from the operating system, the date that the specified file <expC> was last modified. The search will be carried out in the current directory and any directories specified with the SET PATH TO command. The character expression <expC> may include the full pathname, but no 'wild card' characters. The FDATE() function returns the date in the format as specified by the SET CENTURY, SET DATE, and SET MARK commands. If the file specified by <expC> is open, the FDATE() function returns the last modification date since the last time the file was closed.


Example

? fdate("main.prg")
05/12/1999


Products

Recital Server, Recital