Skip to main content Red Hat Design System logo Contribute on Github

Timestamp

Overview Style Guidelines Code Accessibility

Overview

A timestamp provides consistent formats for displaying date and time values.

Status

What do these mean?
Figma library:
Ready
RH Elements:
Ready
WebRH:
Ready

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>

Full screen demo

When to use

  • When you need to display date and time values
  • When you need to customize date and time content

Property Status Meaning
Figma library Ready Component is available in the Figma library
RH Elements Ready Component is available in the RH Elements repo
WebRH Ready Component is available in the WebRH repo
© 2021-2024 Red Hat, Inc. Deploys by Netlify