Last active
February 10, 2019 20:05
-
-
Save Rachind/a5fd82bd27f4054bac66d032a9f11cce to your computer and use it in GitHub Desktop.
Snippet ruDate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//20 февраля 2014 г. | |
//date_format | |
$mounth = array('января', 'февраля', 'марта', 'апреля', 'мая', 'июня', 'июля', 'августа', 'сентября', 'октября', 'ноября', 'декабря'); | |
return date("d", $input).' '.$mounth[date("n", $input)-1].' '.date("Y", $input).' г.'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment