Answers for "convert unix timestamp to date using php DateTime class"

PHP
2

php convert unix time to date

<?php
$timestamp=1333699439;
echo gmdate("Y-m-d\TH:i:s\Z", $timestamp);
?>
Posted by: Guest on June-18-2020

Code answers related to "convert unix timestamp to date using php DateTime class"

Browse Popular Code Answers by Language