---
title: isValidDate
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsdatecomponents/isvaliddate
---

# isValidDate

A Boolean value that indicates whether the current combination of properties represents a date which exists in the current calendar.

## Declaration

```swift
var isValidDate: Bool { get }
```

## Discussion

Discussion If the timeZone property is set on the receiver, the time zone property value is used. If the calendar property is not set on the receiver, nil is returned.

## See Also

### Validating a Date

- [isValidDate(in:)](foundation/nsdatecomponents/isvaliddate(in:).md)
- [date](foundation/nsdatecomponents/date.md)
- [Undefined Components](foundation/1430344-undefined-components.md)
