Print Current Day and Date
The code below is not accurate for me in the Central Standard Time Zone
It advances to the next day too soon. I have not nailed it down as to how many hours early but more than 4.
From what I understand UTC is some sort of standard - but I do not fully understand and I obviously would like the time/date to be accurate in as many locations as possible. The majority of my audience is CST chicago/America.
Can you help?
<p class="white"><?php
// set the default timezone to use.
date_default_timezone_set('UTC');
// Prints something like: Monday August 8th 2005
echo date('l F jS Y');
?></p>