<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.8.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ImageIO",
  "identifier" : "/documentation/ImageIO/kCGImageDestinationDateTime",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Image I/O"
    ],
    "preciseIdentifier" : "c:@kCGImageDestinationDateTime"
  },
  "title" : "kCGImageDestinationDateTime"
}
-->

# kCGImageDestinationDateTime

The date and time information to associate with the image.

```
let kCGImageDestinationDateTime: CFString
```

## Discussion

This property puts the specified date and time information into the DateTime parameters of the image’s metadata. Specify the value of this key using a <doc://com.apple.documentation/documentation/CoreFoundation/CFString> or <doc://com.apple.documentation/documentation/CoreFoundation/CFData>. For strings, the value must be in EXIF DateTime or ISO 8601 DateTime format.

This option is mutually exclusive with [`kCGImageDestinationMetadata`](/documentation/ImageIO/kCGImageDestinationMetadata).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)