PHP date and check time since date.
By
Joveice
in Programming
in Programming
Go to solution
Solved by Joveice,
<?php$to_time = strtotime("2008-12-13 10:42:00");
$from_time = strtotime("2008-12-13 10:21:00");
echo round(abs($to_time - $from_time) / 60,2). " minute";
-
Featured Topics
-
Topics
-
Novinir ·
Posted in New Builds and Planning0 -
0
-
0
-
Peregrine1 ·
Posted in Troubleshooting0 -
Tyraenel ·
Posted in Servers, NAS, and Home Lab4 -
0
-
0
-
XxWOODSIExX ·
Posted in Troubleshooting2 -
Pove ·
Posted in New Builds and Planning7 -
4
-
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now