RsD0p9BK
8/14/2013 - 9:57 AM

date.php

date('d.m.Y H:i:s');

date("Y.m.d", strtotime("+6 month"));

date('d.m.Y', strtotime('12-07-2016'));

setlocale(LC_ALL, "ru_RU");
$date = strftime("%d %B, %H:%M",strtotime('12-07-2013'));

// Как преобразовать дату в нужный формат
// http://hashcode.ru/questions/114253/php-%D0%B4%D0%B0%D1%82%D0%B0-%D0%BF%D0%BE-%D1%80%D1%83%D1%81%D1%81%D0%BA%D0%B8-%D1%87%D0%B5%D1%80%D0%B5%D0%B7-setlocale

// http://stackoverflow.com/questions/14584115/php-strtotime-1-month-adding-an-extra-month