Returns the time a file was created.

Syntax

<oRef>.createTime(<filename expC>)

<oRef>

A reference to a File object.

<filename expC>

The name of the file to check. Wildcard characters are not allowed; you must specify the actual file name.

If you specify a file without including its path, dBASE Plus looks for the file in the current directory, then in the search path(s) you specified with SET PATH, if any. If you specify a file without including its extension, dBASE Plus assumes no extension. If the named file cannot be found, an exception occurs.

Property of

File

Description

createTime( ) checks the file specified by <filename expC> and returns the time, as a character string, that the file was created.

To get the date the file was created, use createDate( ).