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

    • Overview
  • Library

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

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

    • Comparison
    • Showcase
    • Changelog

API reference › @evolu/common › Time › millisToDateIso

function millisToDateIso(
  value: number &
    Brand<"NonNaN"> &
    Brand<"Finite"> &
    Brand<"Int"> &
    Brand<"NonNegative"> &
    Brand<"LessThan281474976710655"> &
    Brand<"Millis">,
): string & Brand<"DateIso">;

Defined in: packages/common/src/Time.ts:358

Converts Millis to DateIso.

This is a safe cast because Millis guarantees a valid timestamp range that always produces a valid ISO string.

Markdown for LLMs

© 2026 Evolu

Follow us on GitHubFollow us on XJoin our Discord server