FORM::inputでdatetimeに表示制限

■\\cake\libs\view\helpers\form.php

$this->input("Model/field",type="datetime");

▼オプション
dateFormat : YMD or MDY or DMY etc..
timeFormat : 24 or 12
selected : 初期選択時間 => date("Y-m-d H:i:s");
options : $attributes('minYear' => date('Y'), 'maxYear' => date('Y') +1 , 'separator' => ' ');

$this->input("Model/field",type="datetime","dateFormat"=>"YMDH","timeFormat"=>24,"selected"=>date("Y-m-d H:i",strtotime("+1 hour")),"options"=>$attributes,"empty"=>false);

# input から dateTimeに
●Form::input

$this->dateTime($fieldName, $dateFormat, $timeFormat, $selected, $options, $empty);

で渡しているので、

●Form::dateTime

$attributes = array_merge(array('minYear' => null, 'maxYear' => null, 'separator' => '-'), (array)$attributes);

$attributes = array_merge(array('minYear' => null, 'maxYear' => null, 'separator' => '-'), (array)$attributes, (array)$attributes["options"]);

と変更しなければならない