14.04.2017, 22:31
INT(12) holds only integer/number not string '%d/%d/%04d' you can use timestamp, change to %d and replace 'day, month, year' part into gettime() then you can select date
https://dev.mysql.com/doc/refman/5.5..._from-unixtime
pawn Код:
"SELECT FROM_UNIXTIME(`RegisterDate`) AS `RegDate` WHERE `Username` = '%e' LIMIT 1;"