Get next and previous day with php
Here is a simple trick to get next and previous day with php. For next day date(‘Y-m-d’, strtotime($date .’ -1 day’)); For previous day date(‘Y-m-d’, strtotime($date .’ +1 day’));
Continue ReadingHere is a simple trick to get next and previous day with php. For next day date(‘Y-m-d’, strtotime($date .’ -1 day’)); For previous day date(‘Y-m-d’, strtotime($date .’ +1 day’));
Continue Reading