---
title: birthday
framework: contacts
role: symbol
role_heading: Instance Property
path: contacts/cnmutablecontact/birthday
---

# birthday

A date component for the Gregorian birthday of the contact.

## Declaration

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

## Discussion

Discussion A Gregorian birthday can be displayed using this property, whose values are the relevant properties of an NSDateComponents object. Day and month are required for this property, and year is optional. Calendar can be nil or Gregorian. All other date components are invalid.

## See Also

### Setting Birthday Information

- [dates](contacts/cnmutablecontact/dates.md)
- [nonGregorianBirthday](contacts/cnmutablecontact/nongregorianbirthday.md)
