0

How do you convert a saved date time value and turn it into days, hours, minutes or seconds. Based on time passed.

Example: Stored Date Time: 2017-04-23 17:30:05 Current Date Time: 2017-04-23 18:30:05 Projected Output: 1 Hour Ago

4th Mar 2017, 5:30 AM
Joshua Oducado
Joshua Oducado - avatar
2 Answers
+ 1
Got a different ouput bro.
4th Mar 2017, 5:50 AM
Joshua Oducado
Joshua Oducado - avatar
+ 1
Example: Stored Date Time: 2017-04-23 17:30:05 Current Date Time: 2017-04-23 18:30:05 Projected Output: 1 Hour Ago
4th Mar 2017, 5:55 AM
Joshua Oducado
Joshua Oducado - avatar