Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php date format minus 1 day

date('Y-m-d',(strtotime ( '-1 day' , strtotime ( $date) ) ));
 
PREVIOUS NEXT
Tagged: #php #date #format #day
ADD COMMENT
Topic
Name
8+4 =