fork(4) download
  1. <?php
  2.  
  3. $date1 = strtotime( '04-10-2016 15:00' );
  4. $date2 = strtotime( '05-10-2016 16:10' );
  5.  
  6. $intervalo = ( $date2 - $date1 ) / 60;
  7.  
  8. echo $intervalo;
Success #stdin #stdout 0.01s 52488KB
stdin
Standard input is empty
stdout
1510