Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php yesterday date

date("F j, Y", strtotime("-1 days"));
date("m.d.y", strtotime("-1 days"));
date("j, n, Y", strtotime("-1 days"));
date("Ymd", strtotime("-1 days"));
date("j-m-y", strtotime("-1 days"));
date("D M Y", strtotime("-1 days")); 
date("Y-m-d", strtotime("-1 days"));
Source by phpf1.com #
 
PREVIOUS NEXT
Tagged: #php #yesterday #date
ADD COMMENT
Topic
Name
3+7 =