<?php date_default_timezone_set('Europe/Lisbon'); $date = time();$date = date('Y-m-d', $date);$hour = date('H:i:s', $date);echo "Data: ".$date."\n";echo "Hora: ".$hour;
Standard input is empty
Data: 2016-12-24 Hora: 01:33:36
PHP Notice: A non well formed numeric value encountered in /home/Fwfptb/prog.php on line 7
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!