Last Updated: February 25, 2016
·
176
· aspirinchaos

the first and the last day of the month

// first day
echo date("Y-m-01");
// last day 
echo date("Y-m-t");