put a check for negative date and month