Mega Code Archive

 
Categories / Php / Development
 

Call system date function and get result

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