Hey guys, i need some help with mysql database or sql.
I want to subtract the dates and times of 2 columns(datetime), and get an output(datetime), example:
(2012-07-22 10:30:45) - (2012-07-20 10:20:30) = 0000-00-02 00:10:15
How do i do this?
I want to subtract the dates and times of 2 columns(datetime), and get an output(datetime), example:
(2012-07-22 10:30:45) - (2012-07-20 10:20:30) = 0000-00-02 00:10:15
How do i do this?





thanks though