Here’s a quick MySQL tip I wanted to throw your way. I created an event system a while back and one of the requirements of the system was to show events that happened yesterday forward, meaning events older than 2 days were to be hidden. MySQL’s date_add will allow you to do just [...]

Follow Me! Twitter | Facebook | LinkedIn | MooTools Forge.

Full David Walsh Blog Post: Quick Tip: MySQL date_add

Related posts:
  1. Adding Days To Dates In MySQL
  2. Breaking & Fixing Dates from MySQL to PHP
  3. Format Date Fields Using MySQL DATE_FORMAT()
  4. Return Random Records in MySQL
  5. Add Events to the PHP Calendar