I got booking date such as 2004-03-27 in db table.
How can i calculate the date difference using sql?
i want it return such as:
1 year 2 months ago or
2 month 2 weeks ago or
2 week 3 days ago or
3 days 15 minutes ago or
4 hours ago
15 minutes ago
depend on the difference.
Any idea?