以下の方法で一発。
$lastday = new Datetime('last day of now');
//時間を指定する場合
$lastday = new Datetime('last day of now 12:00');
Go to list of users who liked
More than 5 years have passed since last update.
以下の方法で一発。
$lastday = new Datetime('last day of now');
//時間を指定する場合
$lastday = new Datetime('last day of now 12:00');
Register as a new user and use Qiita more conveniently
Go to list of users who liked