Solution for "convert unix time to date in php"

<?php $timestamp=1333699439; echo gmdate("Y-m-d\TH:i:s\Z", $timestamp); ?>

php convert unix time to date

$currentTime = DateTime::createFromFormat( 'U', $timestamp );

php unix timestamp to date

Similar codes for "convert unix time to date in php"


Latest 'PHP' questions

Added before "convert unix time to date in php"