Check length in first_day and last_day