Date Menu - CakePHP Compatible


/ Published in: HTML
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <div class="input date"><label for="TestDateMonth">Date</label>
  2. <select name="data[Test][date][month]" id="TestDateMonth">
  3. <option value="01">January</option>
  4. <option value="02">February</option>
  5. <option value="03">March</option>
  6. <option value="04">April</option>
  7. <option value="05">May</option>
  8. <option value="06">June</option>
  9. <option value="07">July</option>
  10. <option value="08">August</option>
  11. <option value="09">September</option>
  12. <option value="10" selected="selected">October</option>
  13. <option value="11">November</option>
  14. <option value="12">December</option>
  15. -<select name="data[Test][date][day]" id="TestDateDay">
  16. <option value="01">1</option>
  17. <option value="02">2</option>
  18. <option value="03">3</option>
  19. <option value="04">4</option>
  20. <option value="05">5</option>
  21. <option value="06" selected="selected">6</option>
  22. <option value="07">7</option>
  23. <option value="08">8</option>
  24. <option value="09">9</option>
  25. <option value="10">10</option>
  26. <option value="11">11</option>
  27. <option value="12">12</option>
  28. <option value="13">13</option>
  29. <option value="14">14</option>
  30. <option value="15">15</option>
  31. <option value="16">16</option>
  32. <option value="17">17</option>
  33. <option value="18">18</option>
  34. <option value="19">19</option>
  35. <option value="20">20</option>
  36. <option value="21">21</option>
  37. <option value="22">22</option>
  38. <option value="23">23</option>
  39. <option value="24">24</option>
  40. <option value="25">25</option>
  41. <option value="26">26</option>
  42. <option value="27">27</option>
  43. <option value="28">28</option>
  44. <option value="29">29</option>
  45. <option value="30">30</option>
  46. <option value="31">31</option>
  47. -<select name="data[Test][date][year]" id="TestDateYear">
  48. <option value="2028">2028</option>
  49. <option value="2027">2027</option>
  50. <option value="2026">2026</option>
  51. <option value="2025">2025</option>
  52. <option value="2024">2024</option>
  53. <option value="2023">2023</option>
  54. <option value="2022">2022</option>
  55. <option value="2021">2021</option>
  56. <option value="2020">2020</option>
  57. <option value="2019">2019</option>
  58. <option value="2018">2018</option>
  59. <option value="2017">2017</option>
  60. <option value="2016">2016</option>
  61. <option value="2015">2015</option>
  62. <option value="2014">2014</option>
  63. <option value="2013">2013</option>
  64. <option value="2012">2012</option>
  65. <option value="2011">2011</option>
  66. <option value="2010">2010</option>
  67. <option value="2009">2009</option>
  68. <option value="2008" selected="selected">2008</option>
  69. <option value="2007">2007</option>
  70. <option value="2006">2006</option>
  71. <option value="2005">2005</option>
  72. <option value="2004">2004</option>
  73. <option value="2003">2003</option>
  74. <option value="2002">2002</option>
  75. <option value="2001">2001</option>
  76. <option value="2000">2000</option>
  77. <option value="1999">1999</option>
  78. <option value="1998">1998</option>
  79. <option value="1997">1997</option>
  80. <option value="1996">1996</option>
  81. <option value="1995">1995</option>
  82. <option value="1994">1994</option>
  83. <option value="1993">1993</option>
  84. <option value="1992">1992</option>
  85. <option value="1991">1991</option>
  86. <option value="1990">1990</option>
  87. <option value="1989">1989</option>
  88. <option value="1988">1988</option>
  89. </div>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.