Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • Apr 05 21:41
    midoelhawy closed #158
  • Jul 17 2021 18:20
    mohaa8844 commented #158
  • Jul 17 2021 08:30
    mohaa8844 opened #166
  • Jul 17 2021 07:18
    mohaa8844 closed #165
  • Jul 17 2021 07:18
    mohaa8844 commented #165
  • Jul 17 2021 07:00
    mohaa8844 opened #165
  • Jun 14 2021 05:09
    rakeshkumar29594 opened #164
  • Jan 29 2021 17:43
    ssladkov opened #163
  • Aug 05 2020 17:51
    reynierpsalas commented #140
  • Aug 05 2020 16:39
    firstcloudconsulting commented #140
  • Aug 05 2020 16:38
    firstcloudconsulting commented #140
  • Aug 05 2020 15:18
    reynierpsalas commented #140
  • Aug 05 2020 15:18
    reynierpsalas commented #140
  • Jun 05 2020 12:26
    santhanakrishnanstark edited #162
  • Jun 05 2020 12:24
    santhanakrishnanstark opened #162
  • Jun 02 2020 08:13
    mikaelprag opened #161
  • Feb 24 2020 14:02
    sainitacn opened #160
  • Sep 17 2019 23:58
    finoshj opened #159
  • Jul 09 2019 20:20
    midoelhawy edited #158
  • Jul 09 2019 20:19
    midoelhawy opened #158
Hey there, I´m using the datepicker in an angular application, I want to initialise the values in the input field each time according to the ones that were last used. I do have function to get the values that were last used, but I can´t set them. They stay at current date.
Neha Kadam
@karolinkaIn Have you seen Angular Demo?
If it does not solve your issue please let me know.
Neha Kadam
CuriousSolutions/DateTimePicker#40 may help you.
i am using your datetimepicker plugin
it is very cool
but can you help me please to set min date and min time
i just want to set min date today and min time + 2 hourse later
Neha Kadam

    dateTimeFormat: "dd-MM-yyyy HH:mm:ss",

    addEventHandlers: function()
        var oDTP = this;
        var date_min = new Date();
        date_min.setHours(date_min.getHours() + 2);
        oDTP.settings.minDateTime = oDTP.getDateTimeStringInFormat("DateTime", "dd-MM-yyyy HH:mm:ss", date_min);
Hi @celalkasli , please try above code
Hello. Is there a way to make the increment and decrement buttons to work rapidly? I mean can I make them increase or decrease the number as long as I keep pressing the buttons?
Any idea?
Neha Kadam
I think you want something like incrementing datetime as long as button is pressed without lifting finger. This cannot be achieved since click event is captured. To achieve this increment and decrement event handlers should be attached to Long Press event.
Oh yes, exactly. Can you show me how to that?
Neha Kadam
It can be achieved using javascript touch events, but it will be little time consuming. Some longpress event detection library can also be used like (jquery-longpress)[https://github.com/vaidik/jquery-longpress]
Oh, thank you :))
Neha Kadam
@Dicle123 Please use DateTimePicker.js file and try Mobile-TouchHold.js example on Mobile or Chrome Responsive Design View. Please reply whether it is working well so that I can add this to repo
i have a question, the anypicker functioning is similiar that dateTimepicker?
Neha Kadam
Hi Deivid,
AnyPicker and DateTimePicker both have similar functionality. There is a difference in UI, UI Interaction and navigation. You can download both and try.
hello everyone
I'd like to know will bootstrap datetimepicker be self-adaption?
Thanks for any advice & help!
Nisansala R

I need to dynamically change the header text.
When I select 'To date' I need to change the header text to "To Date"and when I select 'From date' I need to change the header text to "From Date". How can I do this??

currently I have used it like this.

##dtBox .dtpicker-header:before {
    content: 'Select from date.';