Date and Time does not change
Hi, I have a theme that displays the date and day on the homepage, this has always been out about 11 hours (the server is in HK, I am in Australia).
The theme used the below code to pull in the date and time:
<div id=”date”><?php localize_date(WPLANG); ?></div>
I have now changes that to the following to give me more accurate understanding how far out the clock is:
<div id=”date”><?php echo date(‘l jS \of F Y h:i:s A’); ?></div>
I have tried going into general settings and amending the timezone, the date does not change at all! no matter what I change it to…. I am running WPMU, I expected the date and time to be set in the Network Admin Dashboard, but it’s not there, so I go into the first, main site and change it there (Dashboard> General > Timezone…
It’s almost like this is the wrong place or something, but I can’t figure out why it won’t change.
- The topic ‘Date and Time does not change’ is closed to new replies.