Posted By

alexpgates on 02/18/10


Tagged

select time html option


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

alexpgates
martianworm16


Time Select Box


 / Published in: HTML
 

I couldn't find anything like this in a quick search, so I thought I'd share it here.

  1. <select name="time" id="time">
  2. <option value="5:00 AM">5:00 AM</option>
  3. <option value="5:15 AM">5:15 AM</option>
  4. <option value="5:30 AM">5:30 AM</option>
  5. <option value="5:45 AM">5:45 AM</option>
  6.  
  7. <option value="6:00 AM">6:00 AM</option>
  8. <option value="6:15 AM">6:15 AM</option>
  9. <option value="6:30 AM">6:30 AM</option>
  10. <option value="6:45 AM">6:45 AM</option>
  11.  
  12. <option value="7:00 AM">7:00 AM</option>
  13. <option value="7:15 AM">7:15 AM</option>
  14. <option value="7:30 AM">7:30 AM</option>
  15. <option value="7:45 AM">7:45 AM</option>
  16.  
  17. <option value="8:00 AM">8:00 AM</option>
  18. <option value="8:15 AM">8:15 AM</option>
  19. <option value="8:30 AM">8:30 AM</option>
  20. <option value="8:45 AM">8:45 AM</option>
  21.  
  22. <option value="9:00 AM">9:00 AM</option>
  23. <option value="9:15 AM">9:15 AM</option>
  24. <option value="9:30 AM">9:30 AM</option>
  25. <option value="9:45 AM">9:45 AM</option>
  26.  
  27. <option value="10:00 AM">10:00 AM</option>
  28. <option value="10:15 AM">10:15 AM</option>
  29. <option value="10:30 AM">10:30 AM</option>
  30. <option value="10:45 AM">10:45 AM</option>
  31.  
  32. <option value="11:00 AM">11:00 AM</option>
  33. <option value="11:15 AM">11:15 AM</option>
  34. <option value="11:30 AM">11:30 AM</option>
  35. <option value="11:45 AM">11:45 AM</option>
  36.  
  37. <option value="12:00 PM">12:00 PM</option>
  38. <option value="12:15 PM">12:15 PM</option>
  39. <option value="12:30 PM">12:30 PM</option>
  40. <option value="12:45 PM">12:45 PM</option>
  41.  
  42. <option value="1:00 PM">1:00 PM</option>
  43. <option value="1:15 PM">1:15 PM</option>
  44. <option value="1:30 PM">1:30 PM</option>
  45. <option value="1:45 PM">1:45 PM</option>
  46.  
  47. <option value="2:00 PM">2:00 PM</option>
  48. <option value="2:15 PM">2:15 PM</option>
  49. <option value="2:30 PM">2:30 PM</option>
  50. <option value="2:45 PM">2:45 PM</option>
  51.  
  52. <option value="3:00 PM">3:00 PM</option>
  53. <option value="3:15 PM">3:15 PM</option>
  54. <option value="3:30 PM">3:30 PM</option>
  55. <option value="3:45 PM">3:45 PM</option>
  56.  
  57. <option value="4:00 PM">4:00 PM</option>
  58. <option value="4:15 PM">4:15 PM</option>
  59. <option value="4:30 PM">4:30 PM</option>
  60. <option value="4:45 PM">4:45 PM</option>
  61.  
  62. <option value="5:00 PM">5:00 PM</option>
  63. <option value="5:15 PM">5:15 PM</option>
  64. <option value="5:30 PM">5:30 PM</option>
  65. <option value="5:45 PM">5:45 PM</option>
  66.  
  67. <option value="6:00 PM">6:00 PM</option>
  68. <option value="6:15 PM">6:15 PM</option>
  69. <option value="6:30 PM">6:30 PM</option>
  70. <option value="6:45 PM">6:45 PM</option>
  71.  
  72. <option value="7:00 PM">7:00 PM</option>
  73. <option value="7:15 PM">7:15 PM</option>
  74. <option value="7:30 PM">7:30 PM</option>
  75. <option value="7:45 PM">7:45 PM</option>
  76.  
  77. <option value="8:00 PM">8:00 PM</option>
  78. <option value="8:15 PM">8:15 PM</option>
  79. <option value="8:30 PM">8:30 PM</option>
  80. <option value="8:45 PM">8:45 PM</option>
  81.  
  82. <option value="9:00 PM">9:00 PM</option>
  83. <option value="9:15 PM">9:15 PM</option>
  84. <option value="9:30 PM">9:30 PM</option>
  85. <option value="9:45 PM">9:45 PM</option>
  86.  
  87. <option value="10:00 PM">10:00 PM</option>
  88. <option value="10:15 PM">10:15 PM</option>
  89. <option value="10:30 PM">10:30 PM</option>
  90. <option value="10:45 PM">10:45 PM</option>
  91.  
  92. <option value="11:00 PM">11:00 PM</option>
  93. <option value="11:15 PM">11:15 PM</option>
  94. <option value="11:30 PM">11:30 PM</option>
  95. <option value="11:45 PM">11:45 PM</option>

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: alvincrespo on February 18, 2010

Thanks! This is useful for some simple stuff, but I'm sure you could use PHP to create a similar list.

You need to login to post a comment.