I need to calculate hours using Server time in php without any other or MySQL dates
Server time Screen shot
and I just confuse myself how to convert server time to this hour (6 hours ago)
Here is my attempt when I tried myself but I am not sure is this correct way or not.
echo $diff = date("H",abs(strtotime(date("Y-m-d h:i:s a")) - strtotime(date("Y-m-d 0:0:0 a"))));