There are 10 months and 24 days until June 17 (Thursday, June 17, 2027).
There are 328 days until June 17 — 10 whole calendar months plus 24 days.
Whole calendar months from today, not days divided by 30 — month lengths vary, so the same number of days can span different month counts.