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, 2022 in HTML by Tejashwini
• 780 points
621 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, 2022 in HTML by Ashwini
• 5,430 points
1,349 views
0 votes
0 answers

Cannot type in input text field

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

Jul 26, 2022 in HTML by Ashwini
• 5,430 points
1,418 views
0 votes
0 answers

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

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

Jul 26, 2022 in HTML by Tejashwini
• 3,820 points
382 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, 2022 in HTML by Tejashwini
• 3,820 points
1,099 views
0 votes
0 answers

Get checkbox value in jQuery

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

May 24, 2022 in HTML by Kichu
• 19,050 points
198 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, 2022 in HTML by Tejashwini
• 3,820 points
245 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, 2022 in CSS by Edureka
• 12,690 points
505 views
0 votes
0 answers

Get the value in an input text box

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

Jun 29, 2022 in Web Development by gaurav
• 23,260 points
200 views
0 votes
0 answers

Get the value in an input text box

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

Jun 30, 2022 in Web Development by gaurav
• 23,260 points
163 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, 2022 in HTML by Tejashwini
• 3,820 points
232 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP