Request: Forum 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=11356
Printed Date: 08 April 2026 at 9:30pm Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com
Topic: Request: Forum Time
Posted By: Scotty32
Subject: Request: Forum Time
Date 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 - http://www.s2h.co.uk/wwf/" rel="nofollow - WebWiz Mods and Skins
For support on my mods + skins, please use http://www.s2h.co.uk/forum/" rel="nofollow - my forum .
|
Replies:
Posted By: dj air
Date 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 .
|
Posted By: ljamal
Date Posted: 30 July 2004 at 5:40pm
There's a mod in the mod area that allows you to set a global time offset.
------------- L. Jamal Walton
http://www.ljamal.com/" rel="nofollow - L. Jamal Inc : Web/ Print Design and ASP Programming
|
|