I have a datetime in my database, and it’s like
$db_datetime = date(“2018-07-21 05:25:10”);
Now I want to get the total lapsed time from the current time.
$db_datetime = strtotime(“2018-07-21 05:25:10”);
$diff_time = time() – $db_datetime ;
echo $diff_time;
Username
Password
Remember Me
Lost your password?
Username or E-mail:
Log in