Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Datetime to string php


<?php
$date = new DateTime('2000-01-01');
echo $date->format('Y-m-d H:i:s');
?>

Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #Datetime #string #php
ADD COMMENT
Topic
Name
2+1 =