Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

pasar datetime a string php

$date = date_create_from_format('d M, Y', '08 Mar, 2020');
echo $newFormat = date_format($date,"Y/m/d H:i:s");

//output: 2020/03/08 00:00:00
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #pasar #datetime #string #php
ADD COMMENT
Topic
Name
8+5 =