Unit 'AmigaDOS' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#morphunits]

SetFileDate

Sets the modification date for a file or dir

Declaration

Source position: amigados.pas line 1898

function SetFileDate(

  name: PChar;

  date: PDateStamp

):LongBool;

Arguments

name

  

Name of object

date

  

New modification date

Description

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.

See also

DateStamp

  

Fills the structure with the current time. Time is measured from 1. Jan. 1978.

Examine

  

Examine a directory or file associated with a lock

ExNext

  

Examine the next entry in a directory

ExAll

  

Examine an entire directory


Documentation generated on: 2021-07-30