edi Posted November 27, 2009 Report Share Posted November 27, 2009 (edited) users_refer "2009-11-27 12:33:53" kā var tādu datumu salīdzināt? piem. ja vecāks par gadu, tad dzēst? :) Edited November 27, 2009 by edi Quote Link to comment Share on other sites More sharing options...
Val Posted November 27, 2009 Report Share Posted November 27, 2009 (edited) WHERE date < SUBDATE( CURRENT_DATE, INTERVAL 1 YEAR) http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html#function_subdate Edited November 27, 2009 by Val Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.