How to format time in a single Select dropdown with cakePHP

Hi,
I need some help with formatting a time filed in the mysql database in a Form, using cakePHP.

I want the dropdown to show 14:00:00, 15:00:00 etc. as the options.

When I type the following in cakePHP,
echo $this->Form->input(‘vlog_in_hours:mins:secs’, array(‘type’ => ‘select’,
‘options’ => array_combine(range(0,23), range(0,23)))

The output is a dropdown of 0 to 23. How to add the min:sec in the dropdown select input box?

Please advise.

Thanks a lot.

Regards,
Vinai

I managed to figure out the way to get the time to show in the dropdown using the code below:

echo $this->Form->input('start_time_operation', array('type' => 'select',  'options' => array('0'=>'00:00:00','1'=>'01:00:00')));

Now my question is, is it possible to generate the options array automatically, using the range?
Something like:

‘options’ => array_combine(range(0,23), range(0,23));

This only gets me the hour portion. How can I get the minute:second within the option values. Is it possible to combine an array and string?

Thanks,
Vinai