0
0

date('Ym', strtotime('2024-08'))とdate('Ym', strtotime('202408'))の罠

Posted at

202408Ymと評価されるのではなく、Hisとして評価されるので実行日の20時24分08秒になります。気をつけてください

date('Ym', strtotime('2024-08')) !== date('Ym', strtotime('202408'))

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0