SetFileDate()

语法

Result = SetFileDate(Filename$, DateType, Date)
概要
Changes the date of the specified file.

参数

Filename$ The name of the file to modify.
DateType The kind of date to modify. It can be one of the following values:
  #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.
Date The date to set. This has to be a value from the Date library.

返回值

Returns nonzero if the operation was successful and zero otherwise.

参阅

GetFileDate()

已支持操作系统

所有

<- SetFileAttributes() - FileSystem Index