Saved pastes by chriszuma:
1 2 3 4 5
<?php $in = strtotime("2011-10-02 23:00:00"); $out = strtotime("2011-10-05 23:02:03"); // 72 hours apart $elapsed = $out - $in;