Docs » Autodocs » dos.library » SetFileDate
SetFileDate -- Sets the modification date for a file or dir (V36)
success = SetFileDate(name, date) D0 D1 D2 BOOL SetFileDate(STRPTR, struct DateStamp *)
Sets the file date for a file or directory. Note that for the Old File System and the Fast File System, the date of the root directory cannot be set. Other filesystems may not support setting the date for all files/directories.
name - Name of object date - New modification date
success - Success/failure indication
DateStamp(), Examine(), ExNext(), ExAll()
|