[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
Set the date of a file.
Source position: line 0
function FileSetDate( |
Handle: LongInt; |
Age: LongInt |
):LongInt; |
const FileName: String; |
Age: LongInt |
):LongInt; |
FileSetDate sets the file date of the file with handle Handle to Age, where Age is a DOS date-and-time stamp value.
The function returns zero if successfull. (not on unixes, where it is not implemented)
On Unix, -1 is always returned, since this is impossible to implement. On Windows and DOS, a negative error code is returned.