html_select_timeAttribute NameTypeRequiredDefaultDescriptionprefixstringNoTime_what to prefix the var name withtimetimestampNocurrent timewhat date/time to usedisplay_hoursbooleanNotruewhether or not to display hoursdisplay_minutesbooleanNotruewhether or not to display minutesdisplay_secondsbooleanNotruewhether or not to display secondsdisplay_meridianbooleanNotruewhether or not to display meridian (am/pm)use_24_hoursbooleanNotruewhether or not to use 24 hour clockminute_intervalintegerNo1number interval in minute dropdownsecond_intervalintegerNo1number interval in second dropdownfield_arraystringNon/aoutputs values to array of this nameall_extrastringNonulladds extra attributes to select/input tags if
givenhour_extrastringNonulladds extra attributes to select/input tags if
givenminute_extrastringNonulladds extra attributes to select/input tags if
givensecond_extrastringNonulladds extra attributes to select/input tags if
givenmeridian_extrastringNonulladds extra attributes to select/input tags if
given
html_select_time is a custom function that
creates time dropdowns for you. It can display
any or all of hour, minute, second and
meridian.
The time-attribute can have different
formats. It can be a uniq-timestamp or a
string containing Y-M-D. YYYY-MM-DD may be the
most common, but months and days with less
than two digits are also recognized. If one of
the 3 values (Y,M,D) is the empty string, than
the according select-box is not pre-selected
at all. This is especially useful with the
empty_year-, -month- and -day-attritbutes.
html_select_time
This will output:
]]>