Use the $html->dateTimeOptionTag('Event/date','DMY','NONE'); function.
Info from Cake API:
HtmlHelper::dateTimeOptionTag ( $ tagName,
$ dateFormat = 'DMY',
$ timeFormat = '12',
$ selected = null,
$ selectAttr = null,
$ optionAttr = null,
$ showEmpty = true
)
Returns a set of SELECT elements for a full datetime setup: day, month
and year, and then time.
Parameters:
string $tagName Prefix name for the SELECT element
string $dateFormat DMY, MDY, YMD or NONE.
string $timeFormat 12, 24, NONE
string $selected Option which is selected.
array $optionAttr Attribute array for the option elements.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---