How to use PHP & Get Now Date Time This function will be using PHP and Get Now Date Time from a web server.
ShotDev Focus:
- Get date now
Example
php_datenow.php
<html> <head> <title>ShotDev.Com Tutorial</title> </head> <body> <?php echo date("Y-m-d H:i:s"); ?> </body> </html>
Create a php file and save to path root-path/myphp/
Run
http://localhost/myphp/php_datenow.php
Screenshot