I have a table that has 2 date columns, one is the timestamp value(eg 1359380165) and the other in normal datetime value (eg. 2013-01-28 08:32:53).
I want to find the time lapse between now (Current) and these dates listed above. So the results will be eg.
- Daniel changed his password 5mins ago
- Jeniffer deleted her phone number 3days ago.
Any ideas?
This function should do something similar to what you’re after, give it a try, it just needs a unix timestamp passed to it like your ‘1359380165’ one.