MessageTimestamp

Renders timestamp text used by MessageStatus.

Best Practices

  • Pass formattedDate when you already format dates upstream.
  • Keep timestampTranslationKey stable for localization consistency.
  • Use one date parser (tDateTimeParser) throughout your app.
  • Keep timestamp formatting cheap in long lists.
  • Prefer theme styling over custom wrapper components.

Props

Prop Description Type
formattedDate Already formatted date to display directly. string | Date | undefined
timestamp Raw timestamp value used to compute display text. string | Date | undefined
timestampTranslationKey Translation key used for timestamp formatting. Defaults to timestamp/MessageTimestamp. string
tDateTimeParser Custom date parser override. function
Add Chat to my app: getstream.io/SKILL.md

The fastest way to build with Stream. Start a new project or improve an existing one. Full CLI and documentation integration out of the box.


Ask your agent:

/stream Build me a Social App with Feeds and Moderation.
/stream Any livestream calls running?
/stream Chat React Native v9: <Your Question>