SetFileDate()

Syntax

SetFileDate(FileName$, DateType, Date)
Description
Changes the date of the specified file.

The date is in the same format than the one of the Date library, so all the date related commands like ParseDate() can be used.

The 'DateType' parameter can be one of the following constants:
  #PB_Date_Created : change the file creation date.
  #PB_Date_Accessed: change the last file access date.
  #PB_Date_Modified: change the last file modification date.

Supported OS

All

<- SetFileAttributes() - FileSystem Index