I am trying to calculate 90 days from todays date. Any idea how I can do this? I am trying the date command with 7776000 being the number of seconds in 90 days. For some reason the date is coming out 03/31/1970. $search_fdate = date('m/d/Y',7776000); Any help greatly appreciated!
7776000 is 90 days, but you are forgetting to add that to the current time. $search_fdate = date('m/d/Y', time() + 7776000);