Difference between revisions of "FDATE()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Helen.george (Talk | contribs) |
||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Function to return the last modification date of a file | Function to return the last modification date of a file | ||
− | |||
==Syntax== | ==Syntax== | ||
FDATE(<expC>) | FDATE(<expC>) | ||
− | |||
==See Also== | ==See Also== | ||
[[DISKSPACE()]], [[FILE()]], [[FTIME()]], [[LUPDATE()]], [[SET CENTURY]], [[SET DATE]], [[SET MARK]], [[SET PATH]] | [[DISKSPACE()]], [[FILE()]], [[FTIME()]], [[LUPDATE()]], [[SET CENTURY]], [[SET DATE]], [[SET MARK]], [[SET PATH]] | ||
− | |||
==Description== | ==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. | 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== | ==Example== | ||
Line 21: | Line 17: | ||
</code> | </code> | ||
− | |||
− | |||
− | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] |
Latest revision as of 11:46, 7 December 2012
Contents
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