ThinkDing

ThinkDing (http://www.thinkding.com/forum/index.php)
-   "How Do I..." Questions (http://www.thinkding.com/forum/forumdisplay.php?f=5)
-   -   Time & Date Display (http://www.thinkding.com/forum/showthread.php?t=10)

SoapinTrucker 08-29-2005 04:12 PM

Time & Date Display
 
On line 179, I have reconfigured the time/date stamp as follows:
PHP Code:
 $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:
Code:
$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


All times are GMT. The time now is 12:06 AM.

Powered by: vBulletin Version 3.0.7
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.