add datecheck for shiftnumber