Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
PHP 5.2 で、1 日の最後の 1 秒を取得する方法は? time() + 86400 は次の日のみを取得しますか?
echo date('r', strtotime('tomorrow') - 1); returns 'Mon, 18 Jan 2010 23:59:59'
23:59:60うるう秒(のような時間)に対処する必要があります
23:59:60
strtotime('23:59:59');