Skip to content

Instantly share code, notes, and snippets.

@alvaro-prieto
Created September 18, 2017 12:38
Show Gist options
  • Save alvaro-prieto/5e136d3936cc177ed61b9fb5bddee17b to your computer and use it in GitHub Desktop.
Save alvaro-prieto/5e136d3936cc177ed61b9fb5bddee17b to your computer and use it in GitHub Desktop.
array de meses
$meses = ["","Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"];
$fecha = new Fecha($this->datos->fecha);
$attr["fecha"] = "{$fecha->vdia} de {$meses[$fecha->vmes]}";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment