2015-03-25から1日間の記事一覧
意外と面倒くさいのよ echo date('Y-m-01', strtotime('20141203'.'+1 month')); ただし、これだと3/31の翌月一日が4/1ではなく5/1になることが判明。 3/31 -> 4/31 -> 5/1 と解釈されるらしい。 なので、 $first = date('Y-m-01', strtotime('20150331'));↑…
意外と面倒くさいのよ echo date('Y-m-01', strtotime('20141203'.'+1 month')); ただし、これだと3/31の翌月一日が4/1ではなく5/1になることが判明。 3/31 -> 4/31 -> 5/1 と解釈されるらしい。 なので、 $first = date('Y-m-01', strtotime('20150331'));↑…