PDA

View Full Version : Time & Date Display


SoapinTrucker
08-29-2005, 04:12 PM
On line 179, I have reconfigured the time/date stamp as follows:
$today = gmdate("D M jS Y z, g:ia")." (GMT)"; // format the time display

It displays: Mon Aug 29th 2005 240, 4:03pm (GMT)

I would like to display: Mon Aug 29th 2005 - Day 240, 4:03pm (PST)

So, the problem is, how do I add the text "Day" before "z" and how do I offset the GMT to reflect PST?

Thanks for any help!!! :)

Mike

SoapinTrucker
08-29-2005, 05:04 PM
OK, I came up with a line that works for me :)

The following replacement to line 179 in the config files:
$today = date("D M jS Y G:i T zS")." Day of year!";

Displays this: Mon Aug 29th 2005 9:58 PDT 240th Day of year!

I *think* this will be ok, forever? (I'm pretty new to PHP!)

Mike