1. Time
$date 1= "2014-11-11";Echo Date(' y-m-d ',Strtotime("$date 1+5 Day "));//output: 2014-11-16//Accordingly, to increase the month, the year, Change day to month or to//+++ today, yesterday, tomorrow, last week, next week +++++++++Echo"Today:",Date("Y-m-d", Time()), "; Echo"Yesterday:",Date("Y-m-d",Strtotime("-1 Day"), "; Echo"Tomorrow:",Date("Y-m-d",Strtotime("+1 Day"), "; Echo"A week later:",Date("Y-m-d",Strtotime("+1 Week"), "; Echo"2 days a week, four hours, two seconds later:",Date("Y-m-d g:h:s",Strtotime("+1 Week 2 days 4 hours 2 Seconds"), "; Echo"Next week Four:",Date("Y-m-d",Strtotime("Next Thursday"), "; Echo"Last Monday:".Date("Y-m-d",Strtotime("Last Monday")). " ; Echo"One months ago:".Date("Y-m-d",Strtotime("Last month"). " ; Echo"One months later:".Date("Y-m-d",Strtotime("+1 Month")). " ; Echo"Ten years later:".Date("Y-m-d",Strtotime("+10 Year")). " PHP Simple Notes