Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php date first day of month and last month

$first = date('Y-m-01', strtotime('last month'));
$last = date('Y-m-t', strtotime('last month'));
 
PREVIOUS NEXT
Tagged: #php #date #day #month #month
ADD COMMENT
Topic
Name
9+5 =