The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Server date
Is there an easy way to get the actual server date so I could have something like this?
The time is now 4:15 pm an Wedenesday, May 29, 2002. But I want it to be able to change according to the users's timezone too. I have a javascript hack that will tell you if there are any important days on the date, like Washington's Birthday and Girl's Day in Japan and things like that. If I can get the date to change as the usertime changes, I can incorporate this too. |
#2
|
|||
|
|||
i know of a few cgi scripts that will do this, i dont see y its needed under vB, i always used it under ubb due to lack of time offset
|
#3
|
||||
|
||||
I want to be able to have the current date as well as the current time on the foumhome. If the time is offset for one user, I want the date to be able to be offset as well.
|
#4
|
|||
|
|||
dose it have to be php or will a cgi script do?
|
#5
|
||||
|
||||
PHP would be better but whatever will work will do. If it can adjust the day according to the users's timeset, then it'll work. The one I was using (javascript) pulled the date fine until the time was offset to -6 (for example, then the day stayed the same at midnight instead of going back to the day before if the time was minus midnight. Does that make any sense?
|
#6
|
|||
|
|||
http://www.simplythebest.net/cgiscripts/
http://cgi.resourceindex.com/ i found it somewhere in thoese two sites, i would post php but my coding backround is in perl and i know little php resource sites |
#7
|
||||
|
||||
Will any of these CGI scripts integrate with vb with the offset or just show the server time? I can show the server time already. It just won't go along with the offset.
|
#8
|
|||
|
|||
well if a user sets his time right some scripts will pull the time off the users computer and disply that, its about what your looking for
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|