form helper dateTime

2007-09-24 Thread kionae
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

Re: form helper dateTime

2007-09-24 Thread [EMAIL PROTECTED]
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

Re: form helper dateTime (cake 1.2)

2007-07-21 Thread Phurter
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

form helper dateTime (cake 1.2)

2007-07-12 Thread pete
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

Re: form helper dateTime (cake 1.2)

2007-07-12 Thread kionae
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