<?php $t = date('Y-m-d', strtotime(!is_null('2018-03-13 14:15:58') ? '2018-03-13 14:15:58' : '31.12.2200 23:59:59')); var_dump($t);
You have javascript disabled. You will not be able to edit any code.