There are 10 months and 10 days until July 18 (Sunday, July 18, 2027).
There are 313 days until July 18 — 10 whole calendar months plus 10 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.