Call system date function and get result : Date Time : Development PHP Source Code


PHP Source Code » Development » Date Time »

 

Call system date function and get result




<?php
   $result = shell_exec("date");
   echo "<p>The server timestamp is: $result</p>";
?>

           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Development
» Date Time