Date/Time in PHP


<?php
// Server is Central Standard Time
$today = date("D g:i A");
echo $today;
echo ' (CST)';
?>

Example output
Sun 6:09 AM (CST)

Leave a Reply

Your email address will not be published. Required fields are marked *