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'));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #date #day #month #month
ADD COMMENT
Topic
Name
3+7 =