Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
2 votes
3 answers
105 views

Difference between two time stamps in PHP

It seems to me that this should echo 11 hours but it returns 12; what am I missing? $start_time = "06:00"; $end_time = "17:00"; $LOD = date("H:i", ((strtotime($end_time) - strtotime($start_time)))); ...
Dan's user avatar
  • 537