rbd - time comparison