Skip to content

Instantly share code, notes, and snippets.

@Begalov
Created March 29, 2016 16:44
Show Gist options
  • Save Begalov/8760d725e49c81ad7d98b7218752969b to your computer and use it in GitHub Desktop.
Save Begalov/8760d725e49c81ad7d98b7218752969b to your computer and use it in GitHub Desktop.
Easiest PHP date operations
date('Y-m-d', strtotime('2015-06-01 + 60 month'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment