convert time to string in php code example Example: php timestamp to date <?php echo date('m/d/Y H:i:s', 1541843467); ?>