Posted By

quest on 10/21/09


Tagged

form php cakephp helper


Versions (?)

Changing the Default Value of a Date-Time Input


 / Published in: PHP
 

  1. <?php
  2. echo $form->input('fecha', array('selected' => array('day' => '1', 'month' => '1', 'year' => '', 'hour' => '1', 'minute' => '1', 'second' => '0', 'meridian' => 'pm')));
  3. ?>

Report this snippet  

You need to login to post a comment.