{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.
Attribute Name
Type
Required
Default
Description
prefix
string
No
Time_
what to prefix the var name with
time
timestamp
No
current time
what date/time to use
display_hours
boolean
No
true
whether or not to display hours
display_minutes
boolean
No
true
whether or not to display minutes
display_seconds
boolean
No
true
whether or not to display seconds
display_meridian
boolean
No
true
whether or not to display meridian (am/pm)
use_24_hours
boolean
No
true
whether or not to use 24 hour clock
minute_interval
integer
No
1
number interval in minute dropdown
second_interval
integer
No
1
number interval in second dropdown
field_array
string
No
n/a
outputs values to array of this name
all_extra
string
No
null
adds extra attributes to select/input tags if
given
hour_extra
string
No
null
adds extra attributes to select/input tags if
given
minute_extra
string
No
null
adds extra attributes to select/input tags if
given
second_extra
string
No
null
adds extra attributes to select/input tags if
given
meridian_extra
string
No
null
adds extra attributes to select/input tags if
given
The time-attribute can have different
formats. It can be a unique timestamp, a
string of the format YYYYMMDDHHMMSS or a string
that is parseable by php's
strtotime().