Answer the question
In order to leave comments, you need to log in
Why is the strftime function not working correctly?
Why function:
echo (strftime('%e', strtotime('first day of next month')));
echo (strftime('%m', strtotime('first day of next month')))
Answer the question
In order to leave comments, you need to log in
%e - DAY of the month, with a LEADING SPACE if it is a single digit.
%m - TWO DIGITAL serial number of the MONTH
php.net/strftime
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question