MySQL date addition

Here is an example of doing date addition/subtraction in a MySQL query.

SELECT * FROM Table WHERE DateField > (now() - INTERVAL 1 year)


Note: Replies will be formatted with PHP Markdown Extra syntax.

Name: Email (Not Required):
 
Logged IP: 18.216.104.106
To prevent spam please submit by clicking the kitten: