fork(1) download
  1. <?php
  2. date_default_timezone_set('Europe/Lisbon');
  3. $dia = date('Y-m-d');
  4. $hora = date('G:i');
  5.  
  6. echo 'DIA:' .$dia;
  7. echo 'HORA:' .$hora;
Success #stdin #stdout 0.01s 52488KB
stdin
Standard input is empty
stdout
DIA:2016-12-24HORA:0:24