SA-MP Forums Archive
worldtime - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: worldtime (/showthread.php?tid=242052)



worldtime - dud - 19.03.2011

server world time is 11:00 how to set +1 houre


Re: worldtime - Biesmen - 19.03.2011

https://sampwiki.blast.hk/wiki/SetWorldTime


Re: worldtime - dud - 19.03.2011

dude whit this i get 12:00 hour

my zone time is now 13:00 and server is 12:00 i want server worldtime become 13:00

when my zone time is 15:00 server worldtime is 14:00

do you understand waht i want to say?
so someone know how to do this?


Re: worldtime - Vince - 19.03.2011

gettime and getdate return the current time and date of the server it's running on, not that of your client. To fix it, add 1 hour in whatever function you use to display the time.