Contents

fileCreationDate()

Returns the file’s creation date.

Declaration

func fileCreationDate() -> Date?

Return Value

The value associated with the creationDate file attributes key, or nil if the file attributes dictionary has no entry for the key.

See Also

Accessing File Attributes