ThinkDing  

Go Back   ThinkDing > Member Forums > "How Do I..." Questions
Acceptance Mark
User Name
Password


Reply
 
Thread Tools Search this Thread
  #1  
Old 08-29-2005, 05:12 PM
SoapinTrucker's Avatar
SoapinTrucker SoapinTrucker is offline
Member
 
Join Date: Jul 2005
Location: Fresno, California
Posts: 38
Question 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
Reply With Quote
  #2  
Old 08-29-2005, 06:04 PM
SoapinTrucker's Avatar
SoapinTrucker SoapinTrucker is offline
Member
 
Join Date: Jul 2005
Location: Fresno, California
Posts: 38
Thumbs up

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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump



All times are GMT. The time now is 09:21 AM.


Powered by: vBulletin Version 3.0.7
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.