How can I make an average between dates in MySQL? I am more interested in the time values, hours and minutes.
On a table with:
| date_one | datetime
SELECT TIMESTAMPADD(MINUTE, TIMESTAMPDIFF(MINUTE, '2011-02-12 10:00:00', '2011-02-12 12:00:00')/2, '2011-02-12 10:00:00')
The result is '2011-02-12 11:00:00'