Skip to content

Instantly share code, notes, and snippets.

@gavinblair
Created January 23, 2012 19:51
Show Gist options
  • Save gavinblair/1665202 to your computer and use it in GitHub Desktop.
Save gavinblair/1665202 to your computer and use it in GitHub Desktop.
Add to a date in MySQL
SELECT date_add('2012-01-23', INTERVAL 7 DAY) -- returns 2012-01-30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment