Created
August 7, 2019 21:50
-
-
Save parzibyte/ece8b302afee29c9c5d3c1ed28de850c to your computer and use it in GitHub Desktop.
Obtener número de semana con PHP - https://parzibyte.me/blog/2018/10/04/formateando-fechas-php-funcion-date/
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 | |
$numeroDeSemana = date("W"); | |
echo "Hoy es la semana número $numeroDeSemana"; | |
# Imprime algo como Hoy es la semana número 40 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment