This topic contains 1 reply, has 2 voices, and was last updated by Sean Sean 3 years, 4 months ago.

Time input with datepicker

  • Theoooo

    Posts: 9
    Member Reply #4529

    Hello there,

    I’d like to get a time input only, actually I’m using this :

    <div class=”input-group date date-picker margin-bottom-5″ data-date-format=”dd/MM/yyyy hh:mm:ss”>
    <input class=”form-control form-filter input-sm” readonly=”readonly” name=”booking-arrival-date-from” placeholder=”Du” value=”00:15″ type=”text”>
    <span class=”input-group-btn”>
    <button class=”btn btn-sm default” type=”button”>
    <i class=”fa fa-calendar”></i>

    and I’m getting date like dd/mm/yyyy. Well.

    I would like to get just hours and minutes, like hh:mm, how can I do this ?

    Thank you,



    Posts: 4527
    Support Staff Reply #4550

    Hi :),

    To get the time input only please consider using the bootstrap time picker plugin instead:

    More info you can get from the plugin’s documentation:


You must be logged in to reply to this topic.