Created
January 24, 2018 10:02
-
-
Save luckydevilru/325db3babe7a6c3634d1467460f2153e to your computer and use it in GitHub Desktop.
Вывод даты на русском на php
This file contains hidden or 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
| $mes[0]="-"; | |
| $mes[1]="Январе"; | |
| $mes[2]="Феврале"; | |
| $mes[3]="Марта"; | |
| $mes[4]="Апреле"; | |
| $mes[5]="Мае"; | |
| $mes[6]="Июне"; | |
| $mes[7]="Июле"; | |
| $mes[8]="Августа"; | |
| $mes[9]="Сентебре"; | |
| $mes[10]="Октябре"; | |
| $mes[11]="Ноябре"; | |
| $mes[12]="Декабре"; | |
| $nednum=(int)date("w"); | |
| $mesnum=(int)date("m"); | |
| echo " ".date("d")." ".$mes[$mesnum]." ".date("Y")." "; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment