CODE
LIBARY.COM
Home
/
PHP
PHP Display Server Date and Time
Display Server Date and Time
<?php $date_time = date('l\ M\ d,\ Y\ \@\ g:i A'); echo ($date_time); ?>
Copy to Clipboard
Related Snippets
PHP Proxy Detection Function for Web Analytics and User Blocking
PHP GD Time24
PHP Array Push useful for reverse directory listing
PHP GD Font Image Text
PHP Simple Graphic Counter
PHP "Get Random Posts with Matching Tags in PHP"
PHP Show Related Posts @ Single Post
PHP PHP Styles for ACF Backend in WordPress 5.0
PHP Measuring PHP Execution Time
PHP Get Website Hostname