I have an array of data ($rounds) retrieved from a find('list')
command which looks like:
    [1] => 2009-09-06
    [2] => 2009-09-13
    [3] => 2009-09-20
    [4] => 2009-09-27
    [5] => 2009-10-04
    [6] => 2009-10-11
    [7] => 2009-10-18
    [8] => 2009-10-25
    [9] => 2009-11-01
    [10] => 2009-11-08
    [11] => 2009-11-15

The dates populate a Select form field using the view code
$form->input('round_id');

I would like to reformat the dates in the Select field to d-mmm

How do I reformat the values in the Select form field?

Thanks

Gerard
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to