time
属性可以是多种格式。它可以是时间戳,一个格式为 YYYYMMDDHHMMSS
的字符串,或者是PHP函数 能支持的字符串。
当早上9点20分23秒的时候,模板将显示:
- <select name="Time_Hour">
- <option value="00">00</option>
- <option value="01">01</option>
- ... snipped ....
- <option value="08">08</option>
- <option value="09" selected>09</option>
- <option value="10">10</option>
- ... snipped ....
- <option value="22">22</option>
- <option value="23">23</option>
- </select>
- <select name="Time_Minute">
- <option value="01">01</option>
- ... snipped ....
- <option value="19">19</option>
- <option value="20" selected>20</option>
- <option value="21">21</option>
- ... snipped ....
- <option value="58">58</option>
- <option value="59">59</option>
- </select>
- <select name="Time_Second">
- <option value="00">00</option>
- <option value="01">01</option>
- <option value="22">22</option>
- <option value="23" selected>23</option>
- <option value="24">24</option>
- ... snipped ....
- <option value="58">58</option>
- <option value="59">59</option>
- </select>
- <select name="Time_Meridian">
- <option value="am" selected>AM</option>
- <option value="pm">PM</option>
- </select>