FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Plugins and Code Hacks » Current Time
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Current Time [message #3846] Sun, 07 July 2002 18:44 Go to next message
james is currently offline  james   United States
Messages: 65
Registered: June 2002
Karma: 0
Member
add to buddy list
ignore all messages by this user
I'm running version 2.02 of FUDforum, because I keep encountering fatal errors when trying to upgrade. I am hosted in Britain, which is where all my FUDforum timestamps come from, even though my server is set to default at Pacific time. I noticed that where the Current Time template is, it calls for '!__REQUEST_TIMESTAMP__' Is there any way to manually change this, i.e., after the timestamp is requested, automatically subtract 8 hours off?
Re: Current Time [message #3848 is a reply to message #3846] Sun, 07 July 2002 18:46 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
Change the timezone to Britain, that'll handle the problem.

FUDforum Core Developer
Re: Current Time [message #3852 is a reply to message #3848] Sun, 07 July 2002 18:57 Go to previous messageGo to next message
james is currently offline  james   United States
Messages: 65
Registered: June 2002
Karma: 0
Member
add to buddy list
ignore all messages by this user
Sorry, I was really not clear in that last post. My server is in Britain, but I want the timestamp to show Pacific time. The timestamp shows British time, even though it is set to Pacific time, so I am trying to overcome this and force it to show Pacific time.
Re: Current Time [message #3853 is a reply to message #3852] Sun, 07 July 2002 18:59 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
Then change the timezone to pacific time .

FUDforum Core Developer
Re: Current Time [message #3855 is a reply to message #3853] Sun, 07 July 2002 19:02 Go to previous messageGo to next message
james is currently offline  james   United States
Messages: 65
Registered: June 2002
Karma: 0
Member
add to buddy list
ignore all messages by this user
I have, but it still gives me British time.
Re: Current Time [message #3857 is a reply to message #3855] Sun, 07 July 2002 19:17 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
You need to change the timezone for yourself in your profile as well.

FUDforum Core Developer
Re: Current Time [message #3861 is a reply to message #3857] Sun, 07 July 2002 21:57 Go to previous messageGo to next message
james is currently offline  james   United States
Messages: 65
Registered: June 2002
Karma: 0
Member
add to buddy list
ignore all messages by this user
I have done that as well. It is not just doing this to me - it is doing it to everyone on the server. Also, anonymous users see British time, rather than Pacific time, even though I have it properly configured in the admin section of FUDforum.
Re: Current Time [message #3872 is a reply to message #3861] Mon, 08 July 2002 09:27 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
What operating system is it and what timezone did you set it to?

FUDforum Core Developer
Re: Current Time [message #4038 is a reply to message #3872] Fri, 12 July 2002 19:46 Go to previous messageGo to next message
james is currently offline  james   United States
Messages: 65
Registered: June 2002
Karma: 0
Member
add to buddy list
ignore all messages by this user
If that question is regarding the server that I am on, the OS is some sort of *nix flavor, running Apache. It is set to GMT, because it is located in Britain. I am located in the US, and I have the FUDforum set to Pacific time.

If an anonymous user sees the site, it is reported as being GMT. If a logged in user sees the site, it is reported as GMT unless that users refreshes the page; at that point, Pacific time is shown. Now I am getting more confused Confused
Re: Current Time [message #4039 is a reply to message #4038] Fri, 12 July 2002 19:49 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
Unusual. Could you give me a url to the forum, so that I could see the problem for myself?

FUDforum Core Developer
Re: Current Time [message #4041 is a reply to message #4039] Fri, 12 July 2002 19:52 Go to previous messageGo to next message
james is currently offline  james   United States
Messages: 65
Registered: June 2002
Karma: 0
Member
add to buddy list
ignore all messages by this user
The URL is here
Re: Current Time [message #4044 is a reply to message #4041] Fri, 12 July 2002 20:09 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
I just went to that forum as anonymous user and I see:

Current Time: Fri Jul 12 17:10:21 PDT 2002

According to Google PDT == Pacific Daylight Saving Time

According to http://www.worldtimezone.com/time-usa12.html
at the time of the check PDT time was indeed 17:10

Hence, I see no problem.


FUDforum Core Developer
Re: Current Time [message #4048 is a reply to message #4044] Fri, 12 July 2002 20:19 Go to previous message
james is currently offline  james   United States
Messages: 65
Registered: June 2002
Karma: 0
Member
add to buddy list
ignore all messages by this user
Glad it worked for you.
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Getting a value at different templates
Next Topic: cut body in search page
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Oct 22 19:02:18 EDT 2017

Total time taken to generate the page: 0.00933 seconds