Add date diff implementation