15.09.2016, 12:59
My question is the following
If I have a timestamp field in mysql and the date is saved in this way:
How I can select the registers that for example are inactive for 1 year, or 1 month but just only mysql code?
I think that to do is comparing Unix time but I'm not quite clear how do it without use pawn code.
If I have a timestamp field in mysql and the date is saved in this way:
Код:
eg '2016-09-15 08:36:21' year-month-day hour:minute:second
I think that to do is comparing Unix time but I'm not quite clear how do it without use pawn code.