fork(7) download
  1. <?php
  2.  
  3. $d1 = "2019-09-23 12:30:00"; // Data e hora que o atendimento começou
  4. $d2 = "+ 1 hours"; // Tempo esperado para finalizar o atendimento
  5.  
  6. $teste = strtotime($d1 . $d2);
  7.  
  8. echo date('d/m/Y H:i:s', $teste);
Success #stdin #stdout 0.02s 24312KB
stdin
Standard input is empty
stdout
23/09/2019 13:30:00