There are 11 months and 7 days until July 1 (Thursday, July 1, 2027).
There are 342 days until July 1 — 11 whole calendar months plus 7 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.