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: 52.14.8.34
To prevent spam please submit by clicking the kitten: