Questions tagged [datetimepicker]

GUI component that allows the user to select a date and a time and to display the date and time with a specified format.

DateTimePicker is used to select a date and time, and to display that date and time in the specified format. DateTimePicker makes it easy to work with dates and times because it handles a lot of the data validation automatically.

3363 questions
30
votes
8 answers

Get the value of bootstrap Datetimepicker in JavaScript

I need to get the value of Datetimepicker in my JavaScript function. I have made something like this, but it doesn't work: $("#date").click( function(){ alert(document.getElementById('datetimepicker1').value); }); It gives me 'undefined'
dxtr
  • 685
  • 1
  • 7
  • 16
29
votes
9 answers

jquery datetime picker set minDate dynamic

I guys i'm using a datetimepicker by trentrichardson.com. I have a form with two input fields : from and to and i want to be able to set dynamically a minDate to my "to" field equal to the value of my "from" field. I know i should use a beforShow…
luca
  • 36,606
  • 27
  • 86
  • 125
29
votes
4 answers

Convert date and time to milliseconds in Android

I have Date and Time from DatePicker and TimePicker. Now i want to change the selected date and time into milliseconds. How can I do this??? For Example I have Date selected 2-5-2012 and Time is 20:43 Now I have to convert this Date Time into…
Ahmad Abbasi
  • 1,776
  • 6
  • 29
  • 43
28
votes
8 answers

How To Use DateTimePicker In WPF?

I have no idea how to use the DateTimePicker control in WPF. It is not available in the Toolbox.
Saransh
28
votes
3 answers

How to disable past dates from today in bootstrap datetimepicker?

Unable to disable the past dates in bootstrap datetimepicker HTML
Datetimepicker
26
votes
7 answers

How can I display a DateTimePicker in a DataGridView?

Is there any way to put a DateTimePicker control in the DataGridView? I checked all the possible properties but it give option of checkbox, combo box etc, but not the DateTimePicker.
Furqan Sehgal
  • 4,917
  • 33
  • 108
  • 167
26
votes
3 answers

Error With Bootstrap 3 Date/Time Picker

I am using the date/time picker from Eonasden that you can find here. Date Time Picker I am using HTML from the example:
user3167249
  • 1,082
  • 2
  • 14
  • 28
25
votes
6 answers

Jquery Datepicker Chrome

When using jQuery UI Datepicker, we encouter a problem when used in Google Chrome: when we enter a date with a day higher than 12, it does not accept it as a valid date, this is because chrome thinks the dateformat is mm/dd/yyyy. We tried to solve…
Vince V.
  • 3,115
  • 3
  • 30
  • 45
25
votes
4 answers

How to set Datetimepicker to Month and Year only format?

How can I set the Datetimepicker-Format to MM/YYYY?
asdasdad
  • 832
  • 3
  • 15
  • 27
24
votes
6 answers

How to alter a .NET DateTimePicker control to allow enter null values?

What's the easiest and most robust way of altering the .NET DateTimePicker control, to allow users to enter null values?
GWLlosa
  • 23,995
  • 17
  • 79
  • 116
23
votes
4 answers

What is currently the best, free time picker for WPF?

I'm looking for a simple time picker control for WPF. I've found this one: http://marlongrech.wordpress.com/2007/11/18/time-picker/ but it has some issues e.g. you can't type in "00" into it, the second zero won't appear. Silverlight seems to…
Edward Tanguay
  • 189,012
  • 314
  • 712
  • 1,047
22
votes
6 answers

datetimepicker is not a function jquery

I working with datetimepicker jquery ui, when code below html , datetimepicker is not displaying and when i inspect with firebug console it displayed an error `` $("#example1").datetimepicker is not a function [Break On This Error]…
Rafee
  • 3,975
  • 8
  • 58
  • 88
22
votes
3 answers

DateTime Picker In WinForm How To Pick Time?

Possible Duplicate: DateTimePicker: pick both date and time I'm using a WinForm DateTime picker and it does a fantastic job of choosing dates, but I don't know how to do times. It looks like a time is associated with the value, so maybe there's…
sooprise
  • 22,657
  • 67
  • 188
  • 276
21
votes
4 answers

Bootstrap datetimepicker don't work with readonly or disabled

I have a serious problem with bootstrap datetimepicker, Here is the jsfiddle :
datetimepicker1
Codinga
  • 600
  • 3
  • 12
  • 28
19
votes
4 answers

How to get datetimepicker c# winform checked/unchecked event

There is a check box in the datetimepicker control of winforms .net. But I could not find the event that is triggered when the check box is checked or unchecked . Is there a way out?
Thunder
  • 10,366
  • 25
  • 84
  • 114