Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php get first and last day of previous month

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