Retrieves the created, last access and last write time of a file.
GetFileTimes(cFileName, @rCreationTime [, @rLastAccessTime [, @rLastWriteTime [, bUTCTimes]]])
Parameters
- cFileName
The name of the file or directory for which to retrieve the file times.
Note
- rCreationTime
A variable by reference into which the creation time of the file is stored.
Note
You can also pass NULL for any time parameter if it should not be retrieved.
- rLastAccessTime (optional)
A variable by reference into which the last access time of the file is stored.
- rLastWriteTime (optional)
A variable by reference into which the last write time of the file is stored.
- bUTCTimes (optional)
default = .F.
If .T. the file times are returned in UTC time, if .F. the they are converted to the local timezone.
Return Value
Always .T.
See Also
Reference
ADirectoryInfo
ADirEx
ADriveInfo
AFileAttributes
AFileAttributesEx
CancelFileChange
CompareFileTimes
CopyFileEx
DeleteDirectory
DeleteFileEx
FindFileChange
GetFileAttributes
GetFileOwner
GetFileSize
GetLongPathName
GetShortPathName
MoveFileEx
SetFileAttributes
SetFileTimes