Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Relative Time <wa-relative-time>

Formats a timestamp relative to the current date.

“a sequence or set of instructions in a programming language” — Wikipedia: Computer program. This quote supplies general domain context, not an API definition.

Category: Helpers · Availability: Core · Maturity: Stable.

Source: Web Awesome component source (MyST GitHub transformer); official component documentation.

Live preview

Markdown code snippet

<wa-relative-time date="2026-10-16T12:00:00Z"></wa-relative-time>

Use native MyST for documentation layout; interactive Web Awesome previews remain hosted through the existing {anywidget} integration when available.