Answers for "html date time picker"

8

input datetime

<input type="datetime-local">
Posted by: Guest on August-10-2020
1

html time picker

<input type="time">
#You should always use label for all inputs for accesssibility purposes.
<label for="picker">pick a time:</label>
<input type="time" id="picker" name="picker">
Posted by: Guest on October-04-2021
3

date picker in html

<label for="birthday">Birthday:</label>
<input type="date" 
  id="birthday" name="birthday">
Posted by: Guest on April-03-2021
1

html add mindate to datetime-local picker

<form>
    <label for="party">Enter a date and time for your party booking:</label>
    <input id="party" type="datetime-local" name="partydate" min="2017-06-01T08:30" max="2017-06-30T16:30">
  </form>
Posted by: Guest on July-29-2020
0

bootstrap datetime picker

<div class="container">
    <div class="row">
        <div class='col-sm-6'>
            <div class="form-group">
                <div class='input-group date' id='datetimepicker2'>
                    <input type='text' class="form-control" />
                    <span class="input-group-addon">
                        <span class="glyphicon glyphicon-calendar"></span>
                    </span>
                </div>
            </div>
        </div>
        <script type="text/javascript">
            $(function () {
                $('#datetimepicker2').datetimepicker({
                    locale: 'ru'
                });
            });
        </script>
    </div>
</div>
Posted by: Guest on April-29-2020

Browse Popular Code Answers by Language