Overview
A timestamp provides consistent formats for displaying date and time values.
Sample element
Demos
View a live version of this element to see how it can be customized.
<rh-timestamp date="Tue Aug 09 2006 14:57:00 GMT-0400"></rh-timestamp>
<script type="module">
import '@rhds/elements/rh-timestamp/rh-timestamp.js';
</script>
When to use
- When you need to display date and time values
- When you need to customize date and time content
Related elements or patterns
Feedback
To give feedback about anything on this page, contact us.
Red Hat legal and privacy links
- About Red Hat
- Jobs
- Events
- Locations
- Contact Red Hat
- Red Hat Blog
- Diversity, equity, and inclusion
- Cool Stuff Store
- Red Hat Summit