Created
April 7, 2022 16:40
-
-
Save fmagrosoto/3ad3107a3a7e2a786d1e58fdc24fd493 to your computer and use it in GitHub Desktop.
Función PHP para añadir días a una fecha dada y en formato MySQL: YYYY-mm-dd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$fechaMasQuince = date('Y-m-d', strtotime($fechaCruda . ' + 15 days')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment