Office Address

41/D, West Brahmondi, Narsingdi

Phone Number

+880-1975374887

Email Address

dynamicweblab@gmail.com

html5 datetime
  • September 25, 2012
  • HTML5

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:

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

Or it may look like the screenshot below

html5 datetime
Image Source

Written by

Maidul Islam

I am a freelance web developer.Like to share what i learn.