У меня есть эта настройка для создания формата для DateTime, но, как я говорю
Код: Выделить всё
$strtime[] = date("Y-m-d H:i:s", strtotime(str_replace('/', '-',$time)));Подробнее здесь: https://stackoverflow.com/questions/796 ... sting-data
Код: Выделить всё
$strtime[] = date("Y-m-d H:i:s", strtotime(str_replace('/', '-',$time)));