---
title: "isDateInToday(_:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/nscalendar/isdateintoday(_:)"
---

# isDateInToday(_:)

Indicates whether the given date is in “today.”

## Declaration

```swift
func isDateInToday(_ date: Date) -> Bool
```

## Parameters

- `date`: The date for which to perform the calculation.

## Return Value

Return Value true if the given date is in “today,” otherwise false.

## See Also

### Comparing Dates

- [compare(_:to:toUnitGranularity:)](foundation/nscalendar/compare(_:to:tounitgranularity:).md)
- [isDate(_:equalTo:toUnitGranularity:)](foundation/nscalendar/isdate(_:equalto:tounitgranularity:).md)
- [isDate(_:inSameDayAs:)](foundation/nscalendar/isdate(_:insamedayas:).md)
- [isDateInTomorrow(_:)](foundation/nscalendar/isdateintomorrow(_:).md)
- [isDateInWeekend(_:)](foundation/nscalendar/isdateinweekend(_:).md)
- [isDateInYesterday(_:)](foundation/nscalendar/isdateinyesterday(_:).md)
