×

Set Creation and Modification Date of File

iOS 15 +

Notes

Sets the creation and modification date of a file to a new value.

Syntax

setFileCreationModificationDate(file: <#Variable#>, type: <#Enumeration (SetFileDateType)#>, date: <#String (Allows Variables)#>)

Example

setFileCreationModificationDate(file: [ShortcutInput], type: creationDate, date: "January 1st 1997")