Print Page | Close Window

Fix the Date & Time

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=10743
Printed Date: 30 March 2026 at 7:16am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Fix the Date & Time
Posted By: shabrawy911
Subject: Fix the Date & Time
Date Posted: 05 June 2004 at 3:20am

Hi all

i want to make mt Forum Date & Time Relevent to my country

(the server is not in my country) my server is n USA & i want the time to be adjusted to Egypt Local Time

thanks




Replies:
Posted By: WebWiz-Bruce
Date Posted: 05 June 2004 at 6:07am
Change the date and time format in the admin area of the forum, also you will need to change it in your profile in the main forum.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: shabrawy911
Date Posted: 07 June 2004 at 12:37pm
but i want it to be the default Date & time for all members


Posted By: WebWiz-Bruce
Date Posted: 08 June 2004 at 5:42am
Time off set can not be set for all members.

The only way to do this is change the time on the server.

ASP can not get GMT time so it is hard to set a global time, instead it takes the time from the server.

For a fuller explaination please seach the forum as I have covered this issue in detail many times.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: JC_Hendee
Date Posted: 08 June 2004 at 11:46am

Originally posted by -boRg- -boRg- wrote:

Time off set can not be set for all members. The only way to do this is change the time on the server.

No, you can do it at the code level and have the board set to a specific time zone by adjusting default time (minus or plus) off the server time.  A default forum time offset variable could also be added to the forum setup administration to handle this through a global getTime function used throughout the forum system. However this would not stop users from setting their own time offset unless this part of the registration/settings was commented out and did not show up for the user to change it.

Hmmm... perhaps there's a mod in here somewhere.



Posted By: WebWiz-Bruce
Date Posted: 08 June 2004 at 12:11pm
The system you propose was part of version 5 but was removed in favour of the system whereby each user could set the time offset themselves in their profile. The two running together was found to not be compatible and coursed problems.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: ljamal
Date Posted: 08 June 2004 at 1:40pm
what was the compatiblity problem?
If the global time offset (GTO) is -2 hours from the current time and the user wants it to be -3 hours from the global offset, it would simple be -5 hours from the server time.

-2 GTO and +2 UTO would be 0
-1 GTO and +2 UTO would be -1
as it's all relative it shouldn't affect anything if you always use server time and then apply the offsets correctly. However, I have found areas where the time is posted by the database and not the server in earlier version. Since my database and server are 3 time zones apart, the difference is noticable.

-------------
L. Jamal Walton

http://www.ljamal.com/" rel="nofollow - L. Jamal Inc : Web/ Print Design and ASP Programming


Posted By: WebWiz-Bruce
Date Posted: 08 June 2004 at 1:57pm
It was over a year ago now I spent the best part of a week on it and the compatibity problems were allot more than you mention and the two systems just wouldn't work together.

I have posted more detail on this if you do a search.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: ljamal
Date Posted: 08 June 2004 at 2:59pm
Did the search before, just making sure that nothing has changed sine then because I've had a working version with the offset for some time (using the method I noted above), I just cleaned it up and released it as a MOD.

It seems to work fine and I haven't had any complaints from my users.

http://forums.webwiz.net/forum_posts.asp?TID=10791&PN=1&TPN=1 - Forum Time Offset MOD

-------------
L. Jamal Walton

http://www.ljamal.com/" rel="nofollow - L. Jamal Inc : Web/ Print Design and ASP Programming


Posted By: JC_Hendee
Date Posted: 08 June 2004 at 6:11pm
Originally posted by ljamal ljamal wrote:

It seems to work fine and I haven't had any complaints from my users.
Good enough.  I for one will take a look and give it a try.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net