#author("2023-11-03T00:25:59+00:00","","") [[PHPめも]] PHPで作成したWEBアプリで未来や過去の日時に変更して動作確認したいことは結構あります。~ *dateコマンドを使う [#se277347] *Carbonを使う [#sbaa587d] https://carbon.nesbot.com/docs/#api-testing *Chronosを使う [#x582db0a] https://book.cakephp.org/chronos/2/ja/index.html#id11 *php-timecopを使う [#ub9df89e] https://pecl.php.net/package/timecop https://github.com/hnw/php-timecop https://github.com/kiddivouchers/php-timecop