HomePhp How to set default value for date field to one month from today bydownload Template Full -3:43 AM 0 Comments Use the following as a default value:date('Y-m-d',strtotime('next month'))If need to add a few days to the current date i.e. the same day next week use the following:date('Y-m-d', strtotime("+7 days"))
Post a Comment