Q:

Getting current date & time in PHP

0

Getting current date & time in PHP

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Here is the code to get the system's current date & time in PHP,

<?php
echo date('l jS \of F Y h:i:s A');
//output: Friday 18th of October 2019 12:39:53 PM
?>

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now