GetFileTime Function

Returns a file timestamp as a unix timestamp.

int GetFileTime(const char[] file, FileTimeMode tmode)

Parameters

const char[] file

File name.

FileTimeMode tmode

Time mode.

Return Value

Time value, or -1 on failure.