date() and timestamp refresher
date(format,timestamp)
format is required, example:
date(“Y-m-d”)
of course, Y, m, and d stand for Year, month, day, and they may be separated by whatever you like, so the above example returns 2010-07-27, while date(“m/d/Y”) returns 07/27/2010
now for the timestamp parameter
MAKE what should be supplied for the timestamp, with mktime(hour,minute,second,month,day,year,is_dst)
$tomorrow = mktime(0,0,0,date(“m”),date(“d”)+1,date(“Y”))
date(“Y/m/d”,$tomorrow) returns tomorrow!