Created
August 7, 2019 21:38
-
-
Save parzibyte/1670cf93edab05ad708e4f9e0bfb9fc3 to your computer and use it in GitHub Desktop.
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
<?php | |
$tiempoDelAnioFuturo = strtotime("+1 year"); | |
$formateado = date("Y-m-d H:i:s", $tiempoDelAnioFuturo); | |
echo "Dentro de un año será $formateado"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment