View Full Version : Unix timestamp for date format

18/01/2012, 01:33 PM
I know, I could have used a plugin to do this super-easily by using localtime, but would like to use a function in Pawn for aesthetic reasons, and are too much calculations that I don't understand how to do.
Don't ask why I just don't use gettime, the function is perfect but I have my reasons related to GMT.


The function're adding two hours, I wonder why.

It was converted from PHP to Pawn, source: http://pastebin.com/P3AvJwjb