P(at least 2 match) = 1 - P(all different).
Counting "all different" is easier. Assume 365 days in a year (ignore leap years).
First person: any of 365 days. Second person: must avoid the first, so 364 choices. Third person: 363 choices. Continue for 23 people.