There are 10 months and 13 days until June 6 (Sunday, June 6, 2027).
There are 317 days until June 6 — 10 whole calendar months plus 13 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.