hi all.,
i am trying to get the number of seconds between the current date/time and a datetime stamp in a mysql database..
i am pulling the data from the database, and have tried all sorts, the lastest is
echo mktime(date('Y-m-d H:i:s')) - mktime($resultrow['DATECHECK']);
however all i am getting is 0, i need to work out how many seconds difference there is.. can anyone help
cheers
i am trying to get the number of seconds between the current date/time and a datetime stamp in a mysql database..
i am pulling the data from the database, and have tried all sorts, the lastest is
echo mktime(date('Y-m-d H:i:s')) - mktime($resultrow['DATECHECK']);
however all i am getting is 0, i need to work out how many seconds difference there is.. can anyone help
cheers