xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

FileDate()

Returns the date of a file.

Syntax

FileDate( [<cFileName>] ) --> dDate

Arguments

<cFileName>
This is an optional character string containing the name of the file to query. It defaults to the last file found with FileSeek(). If specified, it must contain a file extension. If <cFileName> contains no drive and/or directory information, the current directory is used. SET DEFAULT and SET PATH settings are ignored.

Return

The function returns the date of the file specified or an empty date in case of an error.

Info

See also:FileAttr(), FileSeek(), FileSize(), FileTime()
Category: CT:DiskUtil , File functions , Low level file functions
Source:ct\files.c
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe