Answers for "how time php"

PHP
1

display time php

date(format,timestamp) 
//example
date("Y.m.d") //default timestamp is current time.
Posted by: Guest on January-18-2021
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