Answer the question
In order to leave comments, you need to log in
php - strtotime - what is the difference between midnight and today? On php.net it says "Time is set to 00:00:00". And the difference?
php - strtotime - what is the difference between midnight and today? On php.net it says "Time is set to 00:00:00". And the difference?
Answer the question
In order to leave comments, you need to log in
It's easy to check
echo date('Y-m-d H:i:s', strtotime('midnight')). // 2018-03-30 00:00:00
"\n".date('Y-m-d H:i:s', strtotime('today')); // 2018-03-30 00:00:00
sandbox.onlinephpfunctions.com/code/fe825f23b0b5e6...Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question