I can’t find more difference like on returned value…
"2011-10-18T00:00:00.00Z" // datetime value
"2011-10-18T00:00:00.00" // datetime-local value
Am I missing something?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The difference between the two is that the datetime-local input does not include the time zone. If the time zone is not important to your application, use datetime-local.
Some browsers are still trying to catch up to the datetime input type. Firefox 7 has still not shown any progress in this area. Instead, set up your own using three select fields with options that are populated in relation to today’s date. That gives you a lot more control over how it actually looks and behaves, and you won’t run the risk of a lot of your users seeing only regular text fields and having to guess at how to enter information into them.