SA-MP Forums Archive
Unix Time? - 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: Unix Time? (/showthread.php?tid=267330)



Unix Time? - BLAbla93 - 08.07.2011

Is there a function in samp to get the unix time?


Re: Unix Time? - Donya - 08.07.2011

pawn Код:
new Seconds = gettime();
printf("Seconds since midnight 1st January 1970: %d", Seconds)
https://sampwiki.blast.hk/wiki/Gettime


Re: Unix Time? - BLAbla93 - 08.07.2011

Great! thanks a lot!