datetimediff should be an xproduct