Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

get hours difference between two dates in php

$hourdiff = round((strtotime($time1) - strtotime($time2))/3600, 1);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #hours #difference #dates #php
ADD COMMENT
Topic
Name
5+3 =