Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Request: Forum Time
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Request: Forum Time

 Post Reply Post Reply
Author
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post Topic: Request: Forum Time
    Posted: 30 July 2004 at 8:35am
this is just an idea, so am not sure how hard or easy it'll be to add

but i was wondering if for V8 or even V8.1 if ya could add a way that you can set the forum time in the admin area, which would be the default time instead of using the Server time as my site is acctually for members from all over, but has alot of UK members but my host is in US (i use jodo) so the time is GMT-5hrs so i was wonderin if by any chance there was a way that you could have a Forum time so i could set the forum to work off GMT time but users could then put -5 in there profile if there from US

its not that important just an idea - since other sites might be for a UK audiance but hosted in the US or other way round coursin the time to be all wrong
S2H.co.uk - WebWiz Mods and Skins

For support on my mods + skins, please use my forum.
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 30 July 2004 at 3:26pm
im not sure and haven't tried it ... it might not woirk all over ... but in the common.asp file

where it has
   
    'The now() function is used in Access for dates
    strDatabaseDateFunction = "Now()"


'Else set the MS SQL server stuff
Else    
   
    %><!--#include file="admin/SQL_server_connection.asp" --><%
   
    'The GetDate() function is used in SQL Server
    strDatabaseDateFunction = "GetDate()"
End If

if you change that to this .. it will add five ours ..


   
    'The now() function is used in Access for dates
    strDatabaseDateFunction = "DateAdd('H', +5, Now())"


'Else set the MS SQL server stuff
Else    
   
    %><!--#include file="admin/SQL_server_connection.asp" --><%
   
    'The GetDate() function is used in SQL Server
    strDatabaseDateFunction = "
DateAdd('H', +5, GetDate())"
End If


not sure if it will work but should .
Back to Top
ljamal View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 16 April 2003
Status: Offline
Points: 888
Post Options Post Options   Thanks (0) Thanks(0)   Quote ljamal Quote  Post ReplyReply Direct Link To This Post Posted: 30 July 2004 at 5:40pm
There's a mod in the mod area that allows you to set a global time offset.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.