Answers for "unix timestamp for now in php"

PHP
2

php timestamp

<?php

echo time();

?>
Posted by: Guest on March-19-2020
3

time php

<?php 
/* Unix Timestamp */
$timestamp = time();
echo $timestamp . "<br>";
echo date("d/m/Y", $timestamp);
?>
Posted by: Guest on October-06-2020

Browse Popular Code Answers by Language