|
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
If your server is in the place you are trying to retrieve the time from: ------------------ :: Who is Andy?
|
|
|
|
Joined: Aug 2000
Posts: 37
Member
|
Member
Joined: Aug 2000
Posts: 37 |
umm... i dont think that this will be on a local computer... if its not.. whats the code that i have to put? ------------------ check out my site at http://www.ultimategamers2000.com
|
|
|
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
You would have to write a routine to subtract/add the proper amount of hours. ------------------ :: Who is Andy?
|
|
|
|
Joined: May 2000
Posts: 243
Member
|
Member
Joined: May 2000
Posts: 243 |
To add or subtract hours off your servers timezone do something like this: my @time = localtime(time+(3600*-2)); That would subtract 2 hours... or it should lol ------------------ Powered by ZCom Bulletin Boards
|
|
|
|
Joined: Aug 2000
Posts: 37
Member
|
Member
Joined: Aug 2000
Posts: 37 |
ummm.. it doesnt seem like that works on a win 98/apache server..... but it does work on s unix server.... y? ------------------ check out my site at http://www.ultimategamers2000.com
|
|
|
|
Joined: May 2000
Posts: 243
Member
|
Member
Joined: May 2000
Posts: 243 |
Course it does. I run my scripts on my win98/apache machine and it works ------------------ Powered by ZCom Bulletin Boards
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|