Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
filtro por medio de fechas primer y ultimo dia del mes
<?php
$fecha_desde = $_GET['fecha_desde'] ?? date('Y-m-01'); //primer dia del mes
$fecha_hasta = $_GET['fecha_hasta'] ?? date('Y-m-t'); //ultimo dia del mes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment