22.01.2015, 17:29
Hello !
I have a query:
My timestamp = 1421947410.
With the website http://www.timestamp.fr/: 1421947410 = 22/1/2015 а 18:23:30.
But, with my query, the result = 22-01-2015 а 18:06:30...
Why?
++
I have a query:
pawn Код:
mysql_format(MySQLConnect, query, 512, "SELECT FROM_UNIXTIME(`Timestamp`, '%%d-%%m-%%Y а %%H:%%I:%%S') AS Timestamp, Admin, Raison FROM `warns` WHERE SQLid = %d", PlayerInfo[playerid][ID]);
mysql_tquery(MySQLConnect, query, "Show", "ii", playerid, playerid);
With the website http://www.timestamp.fr/: 1421947410 = 22/1/2015 а 18:23:30.
But, with my query, the result = 22-01-2015 а 18:06:30...
Why?
++