JavaScript Editor js editor     Web development 



Main Page

Returns the last modification time for a file.

FTIME(cFileName)

Parameters

cFileName


Specifies the name of the file whose last modification time FTIME(В ) returns. cFileName can include a path with the file name. If a path is not included with the file name, Visual FoxPro searches for the file in the default directory and in any directories or folders specified with SET PATH.

Return Value

Character

Remarks

The time that FTIME(В ) returns is assigned to the file by the operating system.

Example

The following example uses FTIME(В ) to display the last modification time for FoxUser.dbf, the Visual FoxPro resource file.

В Copy Code
? FTIME('FOXUSER.DBF')  && Displays the last modification time

See Also



JavaScript Editor js editor     Web development