Every plane, train, and automobile rental website is going to have some sort of time/date picker. It's great to finally have a semantic method to approach this so let's look at how to create these input
types using HTML5.
Note
As of this writing, only the Opera browser offers full support for each of these new input
tags.
HTML5 actually has six different new inputs
that can control date and time. Briefly, they are:
<input type="date" />
<input type="datetime" />
<input type="datetime-local" />
<input type="month" />
<input type="time" />
<input type="week" />
Each of these input
types can be thought of as variations of one another. It's our job as developers to choose to the one that best fits the data you're collecting.