isDate(_:inSameDayAs:)
Indicates whether two dates are in the same day.
Declaration
func isDate(_ date1: Date, inSameDayAs date2: Date) -> BoolParameters
- date1:
The first date to compare.
- date2:
The second date to compare.
Return Value
true if both dates are within the same day, otherwise false.