使い方 <?php // []年[]月[]日 []時[]分 $jpForm->datetime('created'); // []年[]月[]日 $jpForm->datetime('created','YMD',null); // []時[]分 $jpForm->datetime('created',null); // []年度[]月 $jpForm->datetime('created','YM',null,null,array( 'separator' => array( 'year' => '年度', ), )); ?> ソースコード <?php class JpFormHelper extends FormHelper{ function beforeRender(){ $this->options['month'] = array_combine(range(1,12),ran