minDate implemented for labs