pastebin

Paste Search Dynamic
Recent pastes
Formulate the Difference betwe
  1. <?php
  2.  
  3. // Declare and define two dates
  4. $date1 = strtotime("2016-06-01 22:45:00");  
  5. $date2 = strtotime("2018-09-21 10:44:01");  
  6.  
  7. // Formulate the Difference between two dates
  8. $diff = abs($date2 - $date1);
  9.  
  10. ?>
  11.  
Parsed in 0.006 seconds