I think the custom varies from country to country.
In Canada, the hyphens are left out more often than not. If you look at government documents, you will see both "year to date" and "year-to-date", but more often without hyphens.
If you have a question about the English language and would like to ask one of our many English teachers and language experts, please click the button below to let us know: