Hello! As in the Input tag, you can create this kind of calendar (see the figure), where you can select the time and date, in order to further write the data to the database.

day, month, year, day of the week and time

  • You can create using HTML+CSS+JS . In detail, hardly anyone will describe, because the creation of this layout will go well as an order on the freelance exchange. - user207618
  • Look for ready-made plugins - user190134

2 answers 2

This is a revision of the Timer http://jqueryui.com/datepicker/ , called the DateTimePicker (here is a similar modification, you just need to correct the styles http://trentrichardson.com/examples/timepicker/ ).

    The HTML 5 specification has a built-in calendar <input type="date"> http://htmlbook.ru/samhtml5/formy/kalendar

    • one
      Only when using html5 <input type = "date" /> be ready that it will work far from cross-browser. For example, in firefox it doesn't work at all. caniuse.com/#search=date - user190134