server time
#1

I believe the script I'm testing checks the time where the server is hosted, wich would be East USA.
I want the time to be GMT +1, any ideas on how to do it?
Reply
#2

looks for gettime(). This function use a parameter to define the hours. You just need adjust it. Example:

If you want increase at 1 hour, increase the hour variable with 1

Mini example:
Код:
new hour, minute, second;
Getdate(hour, minute, second);
hour += 1
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)