- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to change date time format in HTML5?
The date-time format can be changed by using custom HTML5 elements. If we wish to change or override existing Html tags then we can do so with the help of shadow DOM.
We can make customizable tags like −
<date-timeformatchange ></ date-timeformatchange>
Here is an example −
<date-timeformatchange format=”dd/mm/yyyy ></ date-timeformatchange>
However, E10 and older versions do not support customizable tags; however, all newer versions support customizable tags.
- Related Articles
- How to change date and time format in Android sqlite?
- How to format date and time in android?
- How to change date format with DATE_FORMAT() in MySQL?
- Change date format in MongoDB
- How to add a date and time in HTML5?
- PHP program to change date format
- Format Date and Time in Perl
- PHP program to change the date format
- How to print date and time in specific format using JSP?
- Java Program to format date time with Join
- How to get (format) date and time from mill seconds in Java?
- Change the curdate() (current date) format in MySQL
- Best way to change the date format in MySQL SELECT?
- How do you format date and time in Android using Kotlin?
- Change date format in MySQL database table to d/m/y

Advertisements