+ 1

how to add date and time in html5?

21st Nov 2016, 4:38 AM
Aadhityan R P
Aadhityan R P - avatar
2 Answers
+ 1
<input type="date" ...> <input type="time" ...> OR <input type="datetime-local" ...>
21st Nov 2016, 5:42 AM
Junjie Gono
Junjie Gono - avatar
0
are you talking about form so there is input type date is available. <form> <input type="date" name="something" /> </form> Happy Coding!
21st Nov 2016, 5:32 AM
Shayan
Shayan - avatar