select datediff('2013-01-01','2013-01-02') result1, datediff('2013-01-02','2013-01-01') result2;
-------------------------------------------------------------------------------------------------------------------------------
result1 result2
-------- -----------
-1 1