Not sure if this makes sense within existing date picker, or a separate element. However it would be nice to be able to pick a date and time.
It would be great if there was option for both a separate element and along with the existing date picker. Will this be implemented in the near future?
In Android 5, there's a separate dialog for time picking. It's very well designed, it looks like a clock with two rings of labels (1-12 and 13-24), or, if your locale uses 12h format, one label ring and two buttons for AM and PM:


After picking the hour, there's a transition of the label ring(s) to a label ring for the minutes, in 5 minute steps. You can either tap on one of them, or drag to enter a precise minute. A confirmation is required after picking the minute to close the dialog.
If you click on the hour at the top, it will return to the hour picking mode (also with a nice animation).
This is great for mobile but there is no material design Date time picker for the web.
The original pickadate.js which materialize's is based on does have a time picker. So perhaps, that could be extended similarly.
Echoing what @syedsuhail said, these time pickers are nice for mobile devices, but they do not work so well on desktop devices. More thought will have to go in to these.
I'd love to see some sort of timepicker as well :+1:
For the moment if would be great to add a little bit of styling to the time input, as it is currently completely unstyled.
:+1:
@Dogfalo It's been quite a while since this was suggested, are there any plans to implement some kind of time picker?
@Dogfalo, I'd love to see some kind of time picker, as @carlosperate mentioned earlier.
I need to use these pickers right now and no one is avaliable.
Heavily inspired from http://simeonc.github.io/md-date-time/ I develop this very simple time picker for my project. I'll try to keep it as simple as possible.
Require Materialize and jquery.
http://jsfiddle.net/kakamiokatsu/o3osy173/
Any feedback is welcome!
I found this one by chance, looks promising: https://github.com/weareoutman/clockpicker
@ABeltramo : that one (md-date-time) is awesome and it has a date- and timepicker
I see it but I need somenthing simpler and I don't want to include angular..
:+1:
:+1:
This one also looks nice: https://github.com/mattkrick/lolliclock (its based on clockpicker)
:+1:
+1
:+1:
:+1:
:+1: I'm also all for the Android/Lolliclock implementation. Don't care if it's the same on web as on mobile.
:+1:
this one also looks nice: http://material-ui.com/#/components/time-picker
:+1: This along with date pick would be a great addition
Any appetite for something like this @Dogfalo and co?
:+1:
:+1:
:+1: Datetime picker would be a great improvement !
I second a combined date and time picker.
:+1:
+1 on a datetime and a time picker (:
A combined datetimepicker would be very nice
+1
+1
+1
+1
so if this makes a change, +1 from me too ;)
+1
+1 We need this
:+1:
+1 Where is the time support?
+1
+1 Time support would be awesome
Input type=type is there in css file What is the class and js required?
Docs for timepicker are here : http://amsul.ca/pickadate.js/time/
Two things missing : datetime picker and timepicker with material
Any solution ?
I made some modification to https://github.com/weareoutman/clockpicker
Now, it can be used as a addition clockpicker to materializecss
@chingyawhao great work man, could you please make a pull request or maybe publish your work on atmosphere ?
@boustanihani thanks, but I'm not too familiar with git...can you fork a branch..?
I'll take a look...
Forking is not an issue, but I never used grunt before :( so I guess we have to leave this for the material guys...
I see...thanks for your help anyway
Please add TimePicker and DatetimePicker like "Bootstrap Material DatePicker"
Demo: http://t00rk.github.io/bootstrap-material-datetimepicker/
+1
+1 for chingyawhao's design. Looks really good! :)
Thanks @Tobi042...
+1
+1
Would love to know if there are any plans to implement the date/time picker and if so what the timeline is looking like.
+1
+1
+1
+1
+1
:+1:
+1 :laughing:

+1
+1
+1
+1
+1
+1
+1
This one is nice: http://jonthornton.github.io/jquery-timepicker/
:+1:
+1
:+1:
I ended up using @chingyawhao's materialize-clockpicker
1) Copy the JS and CSS into project
2) Create a text input which includes timepicker class
3) Add the following code to your application.js or wherever you fancy. This initialises the time picker as well as stop error styling being eagerly activated if you are using client side validations.
$('.timepicker').pickatime({
twelvehour: true,
donetext: 'Done',
beforeShow: function() {
activeElement = $(document.activeElement)
activeForm = activeElement.closest('form')[0]
// Remove existing validation errors
activeForm.ClientSideValidations.removeError(activeElement)
// Prevent a validation error occurring when element un-focusses
activeElement.disableClientSideValidations();
},
afterDone: function() {
activeElement = $(document.activeElement)
$(activeElement).enableClientSideValidations();
}
});
Thanks @chingyawhao !
:+1:
It looks like the above code doesn't seem to be working so well... seems to conflict slightly with the pickadate dom for me.
If you want, you can take my solution.
https://github.com/artfable/plugins/tree/master/timepicker
+1
:+1:
+1
:+1:
:+1:
:+1:
:+1:
+1
This is one i made a while ago, not to many options. It CSS Powered so its quick, not a lot of JS going on. If you want to fork and fix it up go for it. Theme is set for the project i was working on by everything is editable. Materialize or pickatime is not a dependency, just jQuery. Auto-initializing, just use the right class on a text field.
I ended up using @chingyawhao 's as well. The styling and look are great, but I think if a solution is officially incorporated into materialize it would be served using the pickatime library from Amsul. This would provide a consistent interface between date picking and time picking within materialize, which would be much more straightforward for developers adopting materialize as their front end framework of choice.
If time permits, I'm considering trying to shoehorn @chingyawhao 's picker into materialize using the pickatime library instead of clockpicker. I think @chingyawhao 's picker really nails the look and feel of materialize, but the underlying JS library is a bit cumbersome compared to the simplicity and straightforward nature of pickatime.js. Is this something the materialize devs would be interested in me working into a PR? I hope to be able to do this, but once again, it all comes down to time for me. Hopefully I can make it happen.
Wondering if this is going to happen at some point. Seems like we really need a time picker
We resorted to using the timepicker that comes as an add on to the one used in the geeks lab materialise admin them. There's a demo used which you can use to see how it works
On Sun, Sep 4, 2016 at 7:19 PM +1000, "Joel Albert" [email protected] wrote:
Wondering if this is going to happen at some point. Seems like we really need a time picker
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
any update ? I really want one for a "X minutes from now" style
+1..
Does some of the suggestions include a time-picker not referred to TimeOfDay, but TimePeriod instead?. Where it is possible to introduce something like this:
52:42:51
or
00:00:00.123
+1
+1
+1
+1
+1
+1
I'm not the only one who wish to see a timepicker in the materialize framework. 👍
What you other are using for replacement for now?
+1
+1
+1
+1 We need this badly
I'm gonna _start_ working on this, but it might take me a while
Wish me luck
+1
Would you guys mind having moment.js added as a requisite? its fairly light, however I'm going to extract the code needed
I know that pickatime.js is made by the same people that did the date picker so that could also be an option
I'm looking at https://github.com/T00rk/bootstrap-material-datetimepicker (ignore the name, doesnt require bootstrap anymore)

That is pick a time.js

Heres what im working on
Yeah, I think in materialize admin they added a skin for pickatime
Alright, I'm preparing a pull request
FWIW I think a time picker does also well on desktops with a mouse and keyboard. Users rather click and drag things than select a dropdown list or even type values.
:+1: for a time picker component.
I'm getting a PR ready, but I'm short on time today. Here's a JSFiddle (code's messy, couldn't get jQuery to load right)
https://jsfiddle.net/1yt7241c/
Can anyone test the above link and provide some feedback before I implement? Thanks
I did some tests, its a great first start. Here's my feedback:
Just my 2c. Hope that helps!
Thanks, ill work it
I can't figure out quite how to make them draggable. Any tips?
I changed the buttons, hopefully they are better now.



I feel like an SVG is the easier way to go… but you’d probably need to do some maths to get that to work and tie in with mouse x+y
It's an SVG, I just dont know how to make the mouse interaction work.
Hello, Nice work. If I can give my 2 cent. The OK Button is not clear. I expect that the ok button will validate and not let us choose the minutes. Maybe a button which let us change the hours and the minute and then click OK only to validate the choice.
Maybe to click on the hour could allow us to choose the hour and to click in the minute will allow us to choose the minute.
Would changing the OK button to "NEXT" on the hour picker work?
https://jsfiddle.net/1yt7241c/3/ try this.
@smileytechguy To get dragging working, you'd need to setup:
Math.atan2. The mouse position is (x2, y2) so we can get the angle of the mouse around the clock (in radians not degrees) by calculating Math.atan2(y2-y1, x2-x1)From that you should have enough to work with to get the dragging working. The math might need a little tweaking and I'm sure someone more mathy than I will chime out if I've made any mistakes here :)
Hope that helps!
Thanks for the tips, but I don't think I can do all that. Maybe in a later PR. For now, unless anyone thinks I need to change anything on https://jsfiddle.net/1yt7241c/3/, I'll make an initial PR.
Sorry to be so meticulous, but when clicking the 'next' button, the 'cancel' button should turn to 'back'.
Also when we click 'next' the button change to 'OK' which is good, but if we click cancel to choose go back to hours, the 'OK' button should thenchange to 'next' again and not stay 'OK'.
I've made a pr a while back: https://github.com/Dogfalo/materialize/pull/2732
Maybe the code can help you.
it's responsive and the timepicker is draggable.
@philipraets This seems perfect. Why wasn't this merged in? No movement from authors?
I have no idea why it hasn't been merged yet.
If anyone wants to try, test, bugfix or update it to the latest code of materializecss and merge it, please do. I don't have time to maintain it, and my project hasn't been updated with the latest code from materializecss after I've made this, but the date-and timepicker are used on a daily basis at the company I work for.
I've created a codepen so you can see it in action: http://codepen.io/anon/pen/woqevN
I just tested on a few phones, and laptops of varying os and browsers. It's practically flawless!
_____________________________
From: Philip Raets notifications@github.com
Sent: Sunday, November 27, 2016 07:07
Subject: Re: [Dogfalo/materialize] Addition of time picker (#473)
To: Dogfalo/materialize materialize@noreply.github.com
Cc: Comment comment@noreply.github.com, Daniel Holmes daniel.holmes@djcentric.com
I've created a codepen so you can see it in action: http://codepen.io/anon/pen/woqevN
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
Looks great! Someone needs to get @Dogfalo or another maintainer to approve the PR, probably a lot to merge now.
cc @acburst
Any updates on this guys?
@shigawaka not afaik
Personally, I just forked his version and used it
@smileytechguy Did you successfully merge the pickatime code into your fork of v0.97.8? I don't see the code in your master.
@calitidexvii no i didnt, that fork is unrelated afaik. havent messed with it in a while
@smileytechguy Thanks.
Has anyone else worked on updating PR 2732 for v0.97.8? I'd be willing to work on it if I could get a commitment from the maintainers to actually merge it, or an explanation of what's missing. It seems to be the most complete implementation and works great on desktop.
Like other people, I'm using materialize.clockpicker from @chingyawhao. Why not create a PR based on that? Visually at least it's very nice.
I do agree about it, it's vert nice, but it lacks some functionality
You can't change easly year (current datepicker it's also a bit buggy about)
I would be nice to have a single datetime picker field.
And maybe a range picker.
Anyway this seems much better than current solution.
Has any time picker been implemented yet? Is there a reason some of the examples above can't be?
I've created a new clean PR #4445 which is compatible with the latest code.
Most helpful comment
I ended up using @chingyawhao's materialize-clockpicker
1) Copy the JS and CSS into project
2) Create a text input which includes
timepickerclass3) Add the following code to your
application.jsor wherever you fancy. This initialises the time picker as well as stop error styling being eagerly activated if you are using client side validations.Thanks @chingyawhao !