SA-MP Forums Archive
Alternative to getdate();? - 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: Alternative to getdate();? (/showthread.php?tid=116077)



Alternative to getdate();? - BMUK - 27.12.2009

Anyone got an alternative to getdate(Year, Month, Day); ?

From what I know... it gets the date from the users PC which can be set to any date. So the accuracy of what getdate(Year, Month, Day); returns relies onthe users PC being correct!

Any alternatives, like GetServerDate or similar


Re: Alternative to getdate();? - xxmitsu - 27.12.2009

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

Quote:
Get the current server date, which will be stored in the variables &year, &month and &day.