To display the current server configured date and time on your web hosting account, you can place the following code listed below into a php file.
<?php echo date(“l jS \of F Y h:i:s A”); ?>
The above code will display the current date as configured in the format of:
- Day of the week
- Day of the month