Код: Выделить всё
echo '
1. '.$w_time_no;
echo '
2. '.strtotime($w_time_no);
echo '
3. '.date('G:i', strtotime($w_time_no));
Код: Выделить всё
1. 0000-00-00 22:00:00
2.
3. 2:00
Подробнее здесь: https://stackoverflow.com/questions/122 ... ts-nothing