Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Padilo300/78c53670787ab9d2ef2aac831dca5b3e to your computer and use it in GitHub Desktop.
Save Padilo300/78c53670787ab9d2ef2aac831dca5b3e to your computer and use it in GitHub Desktop.
месяц на русском дата date
$_monthsList = array(".01." => "январь", ".02." => "февраль",
".03." => "март", ".04." => "апрель", ".05." => "май", ".06." => "июнь",
".07." => "июль", ".08." => "август", ".09." => "сентябрь",
".10." => "октябрь", ".11." => "ноябрь", ".12." => "декабрь");
$_mD = date(".m."); //для замены
echo $_monthsList[$_mD];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment