RobNYC Posted February 6, 2008 Share Posted February 6, 2008 I have a table called clients. In the table I have two date fields date and date2. I want date2 to equal whatever date is entered into date plus 1 month. suggestions? Link to comment https://forums.phpfreaks.com/topic/89679-date-plus1-month/ Share on other sites More sharing options...
pdkv2 Posted February 6, 2008 Share Posted February 6, 2008 use DATE_ADD(now(), INTERVAL 1 MONTH); now() can be replaced by users input date Cheers ! Link to comment https://forums.phpfreaks.com/topic/89679-date-plus1-month/#findComment-459597 Share on other sites More sharing options...
fenway Posted February 6, 2008 Share Posted February 6, 2008 NOW() + INTERVAL 1 MONTH saves some parents. Link to comment https://forums.phpfreaks.com/topic/89679-date-plus1-month/#findComment-459867 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.