Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

symfony get current datetime

$time = new DateTime();
echo $time->format('H:i:s O
 Y-m-d');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #symfony #current #datetime
ADD COMMENT
Topic
Name
3+5 =