timestamp mysql
#6

An example of selecting all the players (their name only) that are inactive for 1 or more years:
pawn Код:
SELECT name FROM players WHERE TIMESTAMPDIFF(YEAR, last_login, NOW()) >= 1;
Reply


Messages In This Thread
timestamp mysql - by aoEXE - 15.09.2016, 12:59
Re: timestamp mysql - by Shinja - 15.09.2016, 13:09
Respuesta: Re: timestamp mysql - by aoEXE - 15.09.2016, 13:13
Re: timestamp mysql - by Shinja - 15.09.2016, 13:15
Respuesta: timestamp mysql - by aoEXE - 15.09.2016, 13:18
Re: timestamp mysql - by Konstantinos - 15.09.2016, 13:53

Forum Jump:


Users browsing this thread: 1 Guest(s)