lukelee Posted September 22, 2008 Share Posted September 22, 2008 i have a table which contains date and return date, return date is date+7days. i know the date is $date = date("y-m-d"); but how to add 7days on it? can anyone help? Link to comment https://forums.phpfreaks.com/topic/125263-how-to-add-days-on-date/ Share on other sites More sharing options...
Mchl Posted September 22, 2008 Share Posted September 22, 2008 $date = date("y-m-d",strtotime("+1 week")); Link to comment https://forums.phpfreaks.com/topic/125263-how-to-add-days-on-date/#findComment-647528 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.