• Blog
  • Changelog
  • Follow us on GitHubFollow us on XJoin our Discord server
  • Blog
  • GitHub
  • Releases
  • Getting started

    • Overview
  • Library

    • Getting started
    • Array
    • Result
    • Dependency injection
    • Resource management
    • Task
    • Type
    • Conventions
  • Local-first

    • Getting started
    • Playgrounds
    • Examples
    • Owners
    • Relay
    • Migrations
    • Time travel
    • Indexes
    • Protocol
    • Privacy
    • FAQ
  • Other

    • API reference
    • Comparison
    • Showcase
    • Changelog

API reference › @evolu/common › local‑first/Timestamp › timestampToDateIso

function timestampToDateIso(timestamp: Timestamp): string & Brand<"DateIso">;

Defined in: packages/common/src/local-first/Timestamp.ts:347

Convert a Timestamp to an ISO 8601 DateIso string.

The conversion uses the timestamp's millis (a Millis value) and Date.prototype.toISOString() to produce a DateIso.

Markdown for LLMs

© 2026 Evolu

Follow us on GitHubFollow us on XJoin our Discord server