cleanup the daytype, monthtype and yeartype