fork(1) download
  1. <?php
  2. $pega_data = "19-11-2010";
  3. $data_sistema = date("Y-m-d");
  4.  
  5. $pega_atraso = $data_sistema - $pega_data;
  6.  
  7. var_dump($pega_data);
  8. var_dump($data_sistema);
  9. var_dump($pega_atraso);
Success #stdin #stdout 0.03s 52432KB
stdin
Standard input is empty
stdout
string(10) "19-11-2010"
string(10) "2015-11-19"
int(1996)