Answers for "how can i get only the time from timestamp in php"

PHP
0

php datetime from timestamp

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

Code answers related to "how can i get only the time from timestamp in php"

Browse Popular Code Answers by Language