Questions tagged as 'datetimepicker'

1
answer

datetimepicker (jquery) inline is not displayed

I can not get the calendar to run correctly, when I click on a button if it looks good. but if you do not press anything, you see only the frame. It's the datetimepicker of jquery $('.datepicker').datetimepicker({ inline...
asked by 05.09.2018 / 09:55
2
answers

How to subtract hours from a DateTime?

I have a DateTime and I need to subtract hours from one column to the other. For example, I want to subtract 12:45:00 - 12:25:00 and have the result 20 . This is the code I'm using for (int i=0; i<n; i++) {...
asked by 13.12.2018 / 04:13
2
answers

jquery datetimepicker events

I'm using datetimepicker of jquery, I would like to be able to execute a function when changing the date, if I do it when changing the div, when it loses the focus, I also shoot the function. I need you to execute the function only when the date...
asked by 06.09.2018 / 12:02
1
answer

Return TimePicker on OnClick (Android)

How can I return the time chosen by the user in a TimePicker? Calendar cal = Calendar.getInstance(); int minute = cal.get(Calendar.MINUTE); int hourD = cal.get(Calendar.HOUR_OF_DAY); btnHour.setOnClickListener(new View.OnClickListener() {...
asked by 07.05.2018 / 19:22
1
answer

Change language datetimepicker jquery

I would like to be able to change the language of the datetimepicker and there is no way to do it, I have seen some examples and it does not change anything. function datepicker(){ $(".datepicker").datetimepicker({ format: "d-m-...
asked by 05.04.2018 / 11:20
1
answer

Get datetimepicker result in span

I am getting the results of text input in spans, but in the input where I have the calendar with datetimepicker, it does not send the value. The script works well with text inputs, but with the one with datetimepicker it does not. Search a lo...
asked by 05.04.2018 / 23:43
0
answers

Problem with the min property of ion-datetime Ionic

I have two small problems with ion-datetime Case 1: In the first case, I do not know why, when I click on it, the following error is thrown out. <ion-datetime class="ocultar datetime datetime-ios ng-untouched ng-pristine ng-vali...
asked by 18.04.2018 / 22:51
1
answer

Problem with TempusDominus DateTimePicker bootstrap 4

Hello, I am using the TempusDominus DateTimePicker component in my project, and I have a problem with it. I have an input and what I need is that when I click on it, the component with the years will be shown, and when selecting a year, the comp...
asked by 24.07.2018 / 14:49
1
answer

How to set a date limit to select on a datetimepicker?

<div class="form-group"> <div class="input-group date" id="datetimepicker1"> <input id="fechInicio" name="fechInicio" class="form-control" type="text"/> <span class="input-group-addon"> <span class="...
asked by 28.06.2018 / 05:22
2
answers

How to reset two calendar type fields to the current date?

I have a form with 4 fields of type text and with two fields of calendar type that when loading the page they show the current date by default, and a button to clean, what I want to do is that by clicking on the button clean the text fields and...
asked by 18.07.2018 / 06:14