Questions tagged [custom-datetimepicker]
26 questions
19
votes
7 answers
How to pick a second using TimePicker, android
I have used TimePicker to make the user to choose time see here and here also. But I didnot find a way to make the user to select second also. Now user can select Hour and Minute but not second. If I want to set a time for 02:05:10 then what I have…

Sunil Kumar Sahoo
- 53,011
- 55
- 178
- 243
11
votes
3 answers
How to set the TimePickerDialog to 24 hour?
I know how to set the TimePicker widget to 24 hour, how do you do the same for the TimePickerDialog???
Otherwise will I have to make a new dialog box altogether??

abhinav.mehra
- 125
- 1
- 1
- 7
11
votes
2 answers
DateTimePicker AM/PM Dropdown
I'm using (and loving) datetimepicker, the great add on to the jQuery UI Datepicker. However, I'm using the dropdown option (you can see all of them here -- http://trentrichardson.com/examples/timepicker/), and I want to have three dropdowns -- one…

streetlight
- 5,968
- 13
- 62
- 101
5
votes
2 answers
How to set a custom minimum and maximum date selection day in "wdullaer materialdatetimepicker"
I am working on a project where I need to restrict the user from choosing any other dates than I want.
by reading some articles and SO post i tried the following which is supposed to work
com.wdullaer.materialdatetimepicker.date.DatePickerDialog…

Nilabja
- 4,206
- 5
- 27
- 45
5
votes
3 answers
Custom Date Picker Dialog in Android Lollipop
I want a date picker to show only Month and Year. I've customized the Date Picker to do so i.e., to remove 'day' field from the picker,but in Android Lollipop Am getting picker with Day, Month and Year. Following is my piece of code. Please help me…

sravanalakshmi.sunkara
- 1,161
- 2
- 13
- 35
3
votes
2 answers
How to create Spinner to show current and next 30 dates
How can I create a date Spinner, which shows current date in EditText as default and future dates in Spinner (like, for next 30 days)
I used date picker in many apps, so I am familiar with date picker dialog but don't have any idea about date…

Sun
- 6,768
- 25
- 76
- 131
2
votes
1 answer
DateTimePicker needs multiple clicks of checkbox to fire OnValueChanged
I am modifying some code that has a custom calendar control using a DateTimePicker for a DataGridView. I have set ShowCheckBox = true and I am trying to force it to change the value of the date to null when the user clicks on the checkbox (by…

Alex
- 1,082
- 3
- 12
- 23
2
votes
1 answer
How to compare two DateTimePicker's values and change the 1st DateTimePicker's value to that of the 2nd
i've been searching the net for ideas as to how to be able to do this and so far, i haven't got anything.
this is my code so far...
If dtp_warrantyExp.Value.Date > dtp_dateAcquired.Value.Date Then
dtp_warrantyExp.Value =…

cryzone
- 57
- 2
- 9
1
vote
1 answer
Auto Increment(+) and Decrement(-) button like time picker
Hello I'm trying to get an edit increment decrement, to no avail.
I see on Time/Date palette: Time picker, but i want only one box.
I'd like an edit like this:
Thank You!

Rafael França
- 81
- 1
- 5
1
vote
1 answer
Creating a base date for analysis in tableau
I have a problem where i want to set a base date to a date time variable in the database. I would then use the base date for my aggregations. And the days subsequent to this base date would be categorised as Day1, Day2 and so on.
So for example, if…

Vayder
- 45
- 6
1
vote
2 answers
How can i do custom date picker in react-native
I had used date time picker in react native, but I want to do in my custom UI for the date picker. How can I do it?
I want to do as shown in below image in both android and IOS

Pratap Penmetsa
- 1,137
- 17
- 41
1
vote
2 answers
How to hide some of the years in UIDatePicker in Swift?
I need to restrict the years in UIDatePicker, i.e set year is hidden if the year is more than our maximum date.
For this I already tried like myDatePicker.maximumDate=NSDate()
My date picker like UIDatePickerView
Now how can I remove or hide the…

WeCan
- 547
- 2
- 9
- 23
1
vote
1 answer
Update data into List Item using Tap on button
I am using Custom Date and Time picker (DateTimePicker in a single dialog)
When i do tap on button in a list item to select date and time and after successful selection when dialog closes and list view comes to the foreground not getting updated…

Oreo
- 2,586
- 8
- 38
- 63
1
vote
1 answer
IOS- How to change text color and selected date border color in UIdatepicker?
As default ios uidatepicker don't allow to change any text color or highlighted date color.
Is there only way to create custom date picker? Help me out.
Thanks

ParagS
- 13
- 5
1
vote
2 answers
How do I customize DatePickerDialog for getting Tag?
I have one or more number of EditText with the same name which is created dynamically. I have created these EditText based on the size of Requirement table which i got from the server. Now I'am calling the DatePickerDialog when i clicks the…

user3764346
- 129
- 2
- 5
- 15