Skip to content

Instantly share code, notes, and snippets.

@jgdoncel
Created November 27, 2013 10:00
Show Gist options
  • Save jgdoncel/7673318 to your computer and use it in GitHub Desktop.
Save jgdoncel/7673318 to your computer and use it in GitHub Desktop.
Obtener el último día del mes t devuelve el número total de días del mes en cuestión From http://stackoverflow.com/questions/1686724/php-last-day-of-the-month
$fecha = "2013-11-23";
echo date("Y/m/t", strtotime($fecha));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment