Display Date and Time in PHP

Download
Download is available until [expire_date]
  • Version
  • Download 177
  • 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");
?>
, , , ,

Post navigation

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.