Answers for "how to get the timestamp in php"

PHP
0

timestamp php

<?php
$date = new DateTime();
echo $date->getTimestamp();
?>
Posted by: Guest on September-11-2020
2

php timestamp

<?php

echo time();

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

Code answers related to "how to get the timestamp in php"

Browse Popular Code Answers by Language