18-Dec-2020
.
Admin
Hi Guys,
In this example,I will learn you add month to current date in codeigniter.you can easy and simply add month to current date in codeigniter.
we will show add month in current date codeigniter.this tutorial will give you example of add month to current date using codeigniter.
Example:
public function index()
{
// add 1 months to date
$date = date("d/m/Y", strtotime(" +1 months"));
}
Output:
18/01/2021
It will help you...
#Codeigniter