They didn't have to go the library every week last month.
Did they have to go the library every week last month?
They had to go the library every week last month, didn't they?
They won't have to go the library every week next month.
Will they have to go the library every week next month?
They will have to go the library every week next month, won't they?