- Version
- Download 179
- File Size 396.72 KB
- File Count 1
- Create Date September 14, 2016
- Last Updated September 14, 2016
Display Date and Time in PHP
Display Date and Time in PHP
PHP script that will display the current date and time of the local computer.
PHP Script:
< ?php
echo date("Y-m-d");
echo "< br/>";
echo date("Y/m/d");
echo "< br/>";
echo date("M d, Y");
echo "< br/>";
echo date("F d, Y");
echo "< br/>";
echo date("D M d, Y");
echo "< br/>";
echo date("l F d, Y");
echo "< br/>";
echo date("l F d, Y, h:i:s");
echo "< br/>";
echo date("l F d, Y, h:i A");
?>