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
245
votes
12 answers

jQuery date/time picker

I've been looking around for a decent jQuery plugin that can handle both dates and times. The core UI DatePicker is great, but unfortunately I need to be able to take time in as well. I've found a few hacks for the DatePicker to work with times,…
Chelsea
  • 6,751
  • 5
  • 29
  • 31
160
votes
8 answers

DateTimePicker: pick both date and time

Is it possible to use DateTimePicker (Winforms) to pick both date and time (in the dropdown)? How do you change the custom display of the picked value? Also, is it possible to enable the user to type the date/time manually?
Grzenio
  • 35,875
  • 47
  • 158
  • 240
109
votes
1 answer

Bootstrap date and time picker

Suggest me any JavaScript to pick the date and time . NOTE: I want to use only one file for date and time picking. I already see this: http://www.eyecon.ro/bootstrap-datepicker/ and http://jdewit.github.com/bootstrap-timepicker/index.html
Aravindhan
  • 3,566
  • 7
  • 26
  • 42
92
votes
9 answers

Angular-Material DateTime Picker Component?

I imported a date picker in a project and was wondering if there was any official recent component from angular and material to include time in the calendar as well. I've seen plenty of time pickers in material documentation and researched a lot of…
83
votes
10 answers

How to get only the date value from a Windows Forms DateTimePicker control?

I'm building an application with C# code. How do I get only the date value from a DateTimePicker control?
srinivas
  • 1,391
  • 3
  • 13
  • 16
76
votes
8 answers

How can I make a DateTimePicker display an empty string?

I would like to be able to display a DateTimePicker that has a default value of nothing, i.e. no date. For example, I have a start date dtTaskStart and an end date dtTaskEnd for a task, but the end date is not known, and not populated initially. I…
brasskazoo
  • 76,030
  • 23
  • 64
  • 76
68
votes
2 answers

Why does JavaScript Date.getTimezoneOffset() consider "-05:00" as a positive offset?

I noticed that for us on Eastern Time zone ("America/New_York") with timezone offset of "-05:00" Date.getTimezoneOffset() returns a positive number of 300. I would expect offset in minutes to be negative in areas to the West from Utc, and to be…
vkelman
  • 1,501
  • 1
  • 15
  • 25
59
votes
5 answers

Remove timezone from a moment.js object

I'm using datetimepicker.js and its date function returns a moment.js object. It does so with the local UTC offset in it and my original date has a different offset. My original date: 2015-10-01T15:00:00.000Z What I display on the date time picker…
Alvaro
  • 40,778
  • 30
  • 164
  • 336
56
votes
5 answers

Is there any good and free Date AND Time Picker available for Java Swing?

Is there any good and free Date AND Time Picker available for Java Swing? There are a lot date pickers available but no date AND time picker. This is the closest I came across so far: Looking for a date AND time picker Anybody?
LazyCoder
52
votes
4 answers

Date and time picker dialog

I want to create a dialog which can select the time and the date at the same time. I know that there is not a default widget that can do that on Android. I also know that there are open source projects on how do similar staff. The problem in this…
haythem souissi
  • 3,263
  • 7
  • 50
  • 77
41
votes
5 answers

Set default format of datetimepicker as dd-MM-yyyy

I have a datetimepicker which on loading of windows form shows me format in 'MM-dd-yyyy', as follows: I would like it in dd-MM-yyyy. I tried the following: set custom format: "dd-MM-yyyy" But Its not changing. What could be the problem? Please help…
C Sharper
  • 8,284
  • 26
  • 88
  • 151
32
votes
4 answers

Why im getting this error Warning: Operand of null-aware operation '??' has type 'Color' which excludes null

Im using this package flutter_datetime_picker: ^1.5.1 And this is my code String _date = "Please pick Age"; Widget _buildage() { return Column(crossAxisAlignment: CrossAxisAlignment.start, children: [ Text( 'Enter Age', …
user15564094
31
votes
10 answers

Android Date Time picker in one dialog

I am using material Date Time picker for my Android app. But I want to combine the Date and Time picker in one dialog. I am following this one. But I need to select the time right after the date selection. Please suggest possible way to do this one.
anuradha
  • 692
  • 1
  • 9
  • 22
31
votes
13 answers

Set default time in bootstrap-datetimepicker

I want to set default time in this datetimepicker as 00:01 for the current date. Anyone tried that before? Having a tough time with it. It Seems simple. $('#startdatetime-from').datetimepicker({ language: 'en', format: 'yyyy-MM-dd…
change
  • 3,400
  • 7
  • 32
  • 42
30
votes
14 answers

DateTimePicker time picker in 24 hour but displaying in 12hr?

I'm using the bootstrap ready date time picker from http://eonasdan.github.io/bootstrap-datetimepicker/ and it's working nicely but for one issue. I have a picker setup just from time as so: $(function () { $('#startTime,…
RegDHunter
  • 385
  • 2
  • 5
  • 9
1
2 3
99 100