<?php $datee= new \DateTime('today'); $date=$datee->format('d/m/Y'); var_dump($date);
Standard input is empty
string(10) "10/04/2017"
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!