<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Contacts",
  "identifier" : "/documentation/Contacts/CNContact/birthday",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Contacts"
    ],
    "preciseIdentifier" : "c:objc(cs)CNContact(py)birthday"
  },
  "title" : "birthday"
}
-->

# birthday

A date component for the Gregorian birthday of the contact.

```
var birthday: DateComponents? { get }
```

## Discussion

Birthdays are represented by this property, whose values are the relevant properties of an <doc://com.apple.documentation/documentation/Foundation/NSDateComponents> object. Day and month components are required for this property, and year is optional. The calendar component can be `nil` or <doc://com.apple.documentation/documentation/Foundation/NSCalendar/Identifier/gregorian>. All other date components are invalid and including them results in an <doc://com.apple.documentation/documentation/Foundation/NSError> object that includes the key paths of the invalid components and the error code [`CNError.Code.validationConfigurationError`](/documentation/Contacts/CNError/Code/validationConfigurationError).

---

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)