Tag Archives: MySQL
Selecting 30 days or older entries using MySQL DateTime field
I’ve been doing quite a bit of Date and Time manipulations lately, and have grown to enjoy MySQL’s DateTime fields just as much as UNIX timestamps. Particularly its built-in functions for selecting any range of fields based on a time frame. Needing to remove all entries from a table that are older than 30 days,








