×

Apply Capture Date

iOS 15 +

Notes

Applies the original capture date & time of the photo (from Exif metadata) to the file's creation and modification date. If an image does not have a capture date metadata, the file is just passed through. This action can be useful to run after the "Convert Image" action (ensure "Preserve Metadata" is checked).

Syntax

applyCaptureDate(images: <#Variable Array#>, setModificationDate: <#Boolean#>)

Example

applyCaptureDate(images: [ShortcutInput], setModificationDate: true)