Input type DateTime - Value format

0 votes

In which format should I put the date and time, for use in the HTML5 input element with the DateTime type?

I have tried:

  • 1338575502
  • 01/06/2012 19:31
  • 01/06/2012 19:21:00
  • 2012-06-01
  • 2012-06-01 19:31
  • 2012-06-01 19:31:00

None of them seem to work.

Aug 19 in HTML by Tejashwini
• 540 points
28 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In HTML

0 votes
0 answers

How can I set max-length in an HTML5 "input type=number" element?

The max length property of the input ...READ MORE

Jul 21 in HTML by Ashwini
• 1,160 points
515 views
0 votes
0 answers

Cannot type in input text field

The input field is not letting me ...READ MORE

Jul 26 in HTML by Ashwini
• 1,160 points
53 views
0 votes
0 answers

How to customize <input type="file">?

Is it possible to change the appearance ...READ MORE

Jul 26 in HTML by Tejashwini
• 1,960 points
27 views
0 votes
0 answers

How to rename HTML "browse" button of an input type=file?

How can the browse button be changed ...READ MORE

Jul 27 in HTML by Tejashwini
• 1,960 points
69 views
0 votes
0 answers

Get checkbox value in jQuery

How can I get a checkbox's value ...READ MORE

May 24 in HTML by Kichu
• 19,040 points
22 views
0 votes
0 answers

How to disabling and enabling a html input button?

let's say I have a button like  <input id="button" ...READ MORE

Jul 5 in HTML by Tejashwini
• 1,960 points
21 views
0 votes
1 answer

Change a HTML5 input's placeholder color with CSS

There are three implementations available: pseudo-elements, pseudo-classes, ...READ MORE

answered Jun 10 in CSS by Edureka
• 9,540 points
66 views
0 votes
0 answers

Get the value in an input text box

What are the ways to get and ...READ MORE

Jun 29 in Web Development by gaurav
• 18,960 points
33 views
0 votes
0 answers

Get the value in an input text box

What are the ways to get and ...READ MORE

Jun 30 in Web Development by gaurav
• 18,960 points
20 views
0 votes
0 answers

Is there a way to change the color of the placeholder text?

I tried to change the placeholder color ...READ MORE

Jul 4 in HTML by Tejashwini
• 1,960 points
22 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP