Guest_imported
New member
- Jan 1, 1970
- 0
How do I calculate the diference between two Times? GMT
It's not simple as this:
$time1=10:00:31;
$time2=12:00:00;
$diference=$time1-$time2;
there are something i forgot
Could you help me? Give a try
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
$time1 = gmmktime(10,0,31,1,1,2000);
$time2 = gmmktime(12,0,00,1,1,2000);
$diference=$time1-$time2; //time difference in seconds