Categories
How to display the name of the next month in php in Russian?
Good afternoon, how to display the name of the next month in Russian. For example, now it is April, it is necessary to display May, next month - June, in June - July.
Answer the question
In order to leave comments, you need to log in
function mySuperPuperNextMonth() { return [1=>'февраля','марта','апреля','мая','июня','июля','августа','сентября','октября','ноября','декабря','января'][date('n')]; }
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question