$dateline=I('year').'-'.I('month').'-'.I('day').' '.I('hour').':'.I('min').':'.I('sec'); $d=strtotime($dateline);