A general rule for hyphenation is that phrases used as an adverb do not use hyphens while phrases used an adjective do. Such is the case with up to date vs. up-to-date.
Up to date is an adverb phrase meaning that something was brought current. For example, Our supervisor required us to bring our accounts reports up to date. It does not take hyphens.
Up-to-date is an adjective phrase that means something includes the most recent information. To wit, Molly’s up-to-date history textbook includes the results of the last presidential election. It needs hyphens.
Knowing whether or not you need hyphens is simply a matter of determining which word the phrase modifies. In the first example given here, up to date modifies brings, which is a verb, so you have an adverb phrase and no hyphens. For the second example, up-to-date modifies textbook, which is a noun, so you have an adjective phrase and hyphens.
My name is Rob Bignell. I’m an affordable, professional editor who runs Inventing Reality Editing Service, which meets the manuscript needs of writers both new and published. I also offer a variety of self-publishing services. During the past decade, I’ve helped more than 300 novelists and nonfiction authors obtain their publishing dreams at reasonable prices. I’m also the author of the 7 Minutes a Day… writing guidebooks, four nonfiction hiking guidebook series, and the literary novel Windmill. Several of my short stories in the literary and science fiction genres also have been published.