Hello, I need help with the form of tax and interest deduction worksheet, can someone please help me to fix the date entered result in line 1b(2)

I have a beginning date lived in state problem, the dates entered result in more than 366 days. How can I fix the date to not overlap the period of residency?