Big thanks to Lonnie for the solution. Here is the final pseudo query in case anyone else can learn from it:

WHERE date >= "2008-08-01" + INTERVAL (DATEDIFF(now(), "2008-08-01") DIV 365 DIV 3 * 3) YEAR;

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to