<!--
{
  "documentType" : "article",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/Date/CustomStringConvertible-Implementations",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "CustomStringConvertible Implementations"
}
-->

# CustomStringConvertible Implementations

## Topics

### Instance Properties

[`var description: String`](/documentation/Foundation/Date/description)

The representation is useful for debugging only.
There are a number of options to acquire a formatted string for a date including: date formatters
(see [NSDateFormatter](//apple_ref/occ/cl/NSDateFormatter) and
[Data Formatting Guide](//apple_ref/doc/uid/10000029i)), and the `Date`
function `description(locale:)`.

---

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)