FDATE()

From Lianjapedia
Revision as of 11:46, 7 December 2012 by Helen.george (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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