Answers for "now function in php"

PHP
10

date now php

date('Y-m-d H:i:s')
Posted by: Guest on July-11-2020
1

date now php

date("Y-m-d H:i:s");
Posted by: Guest on October-21-2020
1

php get current datetime mysql format

date('Y-m-d H:i:s');
Posted by: Guest on April-22-2020
0

time function in php

Return the current time as a Unix timestamp, then format it to a date:
<?php 
/* Unix Timestamp */
$timestamp = time();
echo $timestamp . "<br>";
echo date("d/m/Y", $timestamp);
?>
Posted by: Guest on December-23-2020
0

date now php

echo date('c');

// 2015-07-27T00:00:00+02:00
Posted by: Guest on October-21-2020

Browse Popular Code Answers by Language