Reference Guide

facebook FBML Reference Guide Page 119 of 159
Fb:editor-time
Description
Creates a series of form selector elements showing the time in hours and minutes, and an AM/PM indicator.
Attributes
Required Name Type Description
optional label
string
The label to display on the left side of the selector. (default value is blank)
name
string
The name of the field that is passed when the form is submitted. (default value is
"time")
value
int
The default value in epoch seconds with which to populate the selector.
Examples
<fb:editor action="?do-it" labelwidth="100">
<fb:editor-time value="1185930724" name="time"/>
<fb:editor-buttonset>
<fb:editor-button value="Add"/>
<fb:editor-button value="Recommend"/>
<fb:editor-cancel />
</fb:editor-buttonset>
</fb:editor>
Notes
This tag returns three values, name_hour, name_min and name_ampm where name is the name for the
control.
The time value that you enter is rounded to the nearest 15 minutes. Also, this selector displays only the
time, not the time and date.
www.yapish.com