Tao.PhysFs SDK Documentation

Fs.PHYSFS_getLastModTime Method 

Get the last modification time of a file.

[Visual Basic]
Public Shared Function PHYSFS_getLastModTime( _
   ByVal filename As String _
) As Long
[C#]
public static long PHYSFS_getLastModTime(
   string filename
);

Parameters

filename
filename to check, in platform-independent notation.

Return Value

last modified time of the file. -1 if it can't be determined.

Remarks

The modtime is returned as a number of seconds since the epoch (Jan 1, 1970). The exact derivation and accuracy of this time depends on the particular archiver. If there is no reasonable way to obtain this information for a particular archiver, or there was some sort of error, this function returns (-1).

See Also

Fs Class | Tao.PhysFs Namespace