如何将d/m/Y格式的当前日期增加一个月


how to increment the current date which is in d/m/Y format by one month

我想将当前日期增加一个月,格式为d/m/Y但我对此一无所知,有人能给我举个相关的例子吗。

提前感谢

在PHP中,您可以执行以下操作:

$time = strtotime("+1 month", time());
$date = date("d/m/Y", $time);