Create Date Time drop down tag.
App::Html()->dateTimeTag(Name,[Value],[Option]);
Parameter |
Description |
---|---|
Name |
Name of the Input element |
Value |
Button text |
Options |
HTML Attributes |
See bellow example:
echo App::Html()
->dateTimeTag(
"data[Signup][joindate]",
"2015-05-01 22:05:55",
array(
"id"=>"joindate"
)
);