For Canadians spending time in the states... ie: Snowbirds

We are allowed to spend up to 6 months in the states (Florida) on a 12 month rolling calendar.

I am looking for suggestions on how to set up the formula to drop days off in excess of 365 days