回答編集履歴
1
調整
test
CHANGED
@@ -4,6 +4,9 @@
|
|
4
4
|
```PHP
|
5
5
|
$txt="2022/01/01";
|
6
6
|
$result=date("Y/m/d",strtotime($txt." + 5day"));
|
7
|
+
/* もしくは
|
8
|
+
* $result=date("Y/m/d",strtotime($txt)+5*86400);
|
9
|
+
*/
|
7
10
|
print $result;
|
8
11
|
```
|
9
12
|
|