Condividi tramite


FTIME( ) Function

Returns the last modification time for a file.

FTIME(cFileName)

Return Values

Character

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.

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.

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

See Also

FDATE( ) | LUPDATE( ) | SET PATH Command