---
title: gregorianStartDate
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/dateformatter/gregorianstartdate
---

# gregorianStartDate

The start date of the Gregorian calendar for the receiver.

## Declaration

```swift
var gregorianStartDate: Date? { get set }
```

## Discussion

Discussion This is used to specify the start date for the Gregorian calendar switch from the Julian calendar. Different locales switched at different times. Normally you should just accept the locale’s default date for the switch. See NSCalendar for more information.

## See Also

### Managing Attributes

- [calendar](foundation/dateformatter/calendar.md)
- [defaultDate](foundation/dateformatter/defaultdate.md)
- [locale](foundation/dateformatter/locale.md)
- [timeZone](foundation/dateformatter/timezone.md)
- [twoDigitStartDate](foundation/dateformatter/twodigitstartdate.md)
