PHP: Date and Time problems - 06/06/2003 9:40 AM
Currently I am using this code to display the current date and time.
$date_time = date('l M d, Y @ g:i A');
echo ($date_time);
The only problem is that it displays the time in EST, which is a concern, because the site will only be needed for people in the CST. Is there any PHP or whatnot that I can use to offset the time to CST?
Thanks alot.
$date_time = date('l M d, Y @ g:i A');
echo ($date_time);
The only problem is that it displays the time in EST, which is a concern, because the site will only be needed for people in the CST. Is there any PHP or whatnot that I can use to offset the time to CST?
Thanks alot.