Input Datetime type is used to create datetime field and get date along with time from users at the submission of data.
<input type=datetime
/>
You can use datetime in forms and any where within an HTML document.
Input is unpair tag and output of datetime is datetime field like you can see in above example.
Open notepad or any other text editor, follow the following points.
Send Datetime
save file with name task.html or task.htm and then open it using any browser and see results.
Don't forget input is empty element which means it always comes in single not in pair.