Setworldtime problem (PS: Stop removing my threads wtff -_-)
#1

the host that i have is located in Germany and here in germany its day but when i join the server its night!
this is the problem when its day here on server its night! or when its night here on server its day!
Ps i have realtime system!
when i test the server offline it works just fine
the problem happens only when i make the server online on the host!
Reply
#2

If you can't change the time of the machine, why don't you just adjust it manually in the script?

once you used "gettime" you can figure out the difference between the actual time it should have, and the time it has... Then add a +/- X hours to the time the gettime returns and display/use that...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)