Skip to content

Instantly share code, notes, and snippets.

@fernandovega
Created February 25, 2014 15:57
Show Gist options
  • Save fernandovega/9211741 to your computer and use it in GitHub Desktop.
Save fernandovega/9211741 to your computer and use it in GitHub Desktop.
<?php
$Date = "2010-09-17";
echo date('Y-m-d', strtotime($Date. ' + 1 days'));
echo date('Y-m-d', strtotime($Date. ' + 2 days'));
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment