Answers for "php datetime object print timestamp of date"

PHP
0

php datetime from timestamp

$ts = 1171502725;
$date = new DateTime("@$ts");
Posted by: Guest on May-11-2021

Code answers related to "php datetime object print timestamp of date"

Browse Popular Code Answers by Language