There are 10 months and 17 days until June 10 (Thursday, June 10, 2027).
There are 321 days until June 10 — 10 whole calendar months plus 17 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.