add datetimediff as a valid type