Is there a way to get dateTime to display a dropdown for seconds? All
I can get is hours and minutes.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to
Although I can think of no real reason to have a seconds selection,
except for maybe putting in a speed record :)
...
Your quickest solution is:
First copy your cake/lib/view/helpers/html.php file to your app/view/
helpers/ directory.
This allows you to override the default functionality
http://www.nabble.com/form-helper-dateTime-(cake-1.2)-t4070834.html
On Jul 12, 5:00 pm, pete [EMAIL PROTECTED] wrote:
hi,
is there a way to set the minYear, maxYear for dateTime?
?php echo $form-dateTime('dateTime','DMY',24,null,null); ?
i want to reduce the number of years within the form
hi,
is there a way to set the minYear, maxYear for dateTime?
?php echo $form-dateTime('dateTime','DMY',24,null,null); ?
i want to reduce the number of years within the form
thanks
pete
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Yep.
?php echo $form-datetime('datetime', 'DMY', 24, null,
array('maxYear' = '2008', 'minYear' = '2000'), true); ?
On Jul 12, 4:00 pm, pete [EMAIL PROTECTED] wrote:
hi,
is there a way to set the minYear, maxYear for dateTime?
?php echo $form-dateTime('dateTime','DMY',24,null,null); ?
i