What is the smallest format I can have for the time element for example hh:mm or YYYY-MM-DD and still be valid for machines to read.
What is the smallest format I can have for the time element for example
Share
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.
According to W3C, the smallest format is the time string:
So:
HH:MMis the smallest possible valid string.Got that piece of documentation via the time element -> dateTime attribute -> dateTime attribute value -> valid date or time string -> valid time string. That’s a pretty comprehensive documentation…