html5 datetime

HTML5 Input Type datetime

HTML5 Input Type datetime is just like Input Type Date except it will allow visitor to select a date and time (with time zone).

You can call this datetime picker using input type="datetime" on your input field.This will certainly reduce your development time so need nasty Javascript code.

Currently the latest version of Chrome, Opera and Safari browser supporting this.

If you are using any of this above browser then you are lucky to see it on action

Date and time Picker:

The code i used above is:

<form action="#">
 Date and time Picker: <input type="datetime" name="date_time" />
 <input type="submit" />
</form>

Or it may look like the screenshot below

html5 datetime
Image Source

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply