Answers for "how to get live current time in php"

PHP
3

time php

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

php time

<?php
$t=time();
echo($t . "<br>");
echo(date("Y-m-d",$t));
?>
Posted by: Guest on June-24-2020

Browse Popular Code Answers by Language