回答編集履歴
1
チョウセイ
test
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
```PHP
|
2
2
|
|
3
|
-
$dates=array_map(function($x){return date('Y-m-d',$x);},range(mktime(0,0,0),strtotime("-3
|
3
|
+
$dates=array_map(function($x){return date('Y-m-d',$x);},range(mktime(0,0,0),strtotime("00:00 -30 day"),-60*60*24));
|
4
4
|
|
5
5
|
print_r($dates);
|
6
6
|
|