Created
April 26, 2018 15:13
-
-
Save parzibyte/2ab78838082c4a7588811d29ad807eb1 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 | |
date_default_timezone_set("America/Mexico_City"); | |
$mes = ["enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre"][date("n") - 1]; | |
echo $mes; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment