time属性可以是多种格式。它可以是时间戳,一个格式为 YYYYMMDDHHMMSS的字符串,或者是PHP函数 能支持的字符串。

    当早上9点20分23秒的时候,模板将显示:

    1. <select name="Time_Hour">
    2. <option value="00">00</option>
    3. <option value="01">01</option>
    4. ... snipped ....
    5. <option value="08">08</option>
    6. <option value="09" selected>09</option>
    7. <option value="10">10</option>
    8. ... snipped ....
    9. <option value="22">22</option>
    10. <option value="23">23</option>
    11. </select>
    12. <select name="Time_Minute">
    13. <option value="01">01</option>
    14. ... snipped ....
    15. <option value="19">19</option>
    16. <option value="20" selected>20</option>
    17. <option value="21">21</option>
    18. ... snipped ....
    19. <option value="58">58</option>
    20. <option value="59">59</option>
    21. </select>
    22. <select name="Time_Second">
    23. <option value="00">00</option>
    24. <option value="01">01</option>
    25. <option value="22">22</option>
    26. <option value="23" selected>23</option>
    27. <option value="24">24</option>
    28. ... snipped ....
    29. <option value="58">58</option>
    30. <option value="59">59</option>
    31. </select>
    32. <select name="Time_Meridian">
    33. <option value="am" selected>AM</option>
    34. <option value="pm">PM</option>
    35. </select>
    36.