API reference@evolu/commonTime › Millis

type Millis = number &
  Brand<"Int"> &
  Brand<"NonNegative"> &
  Brand<"LessThan281474976710655"> &
  Brand<"Millis">;

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

Milliseconds timestamp, like Date.now().

The maximum value is 281474976710654 (281474976710655 - 1, reserved for infinity). This enables efficient binary serialization, saving 2 bytes compared to typical 8-byte (64-bit) timestamps.

new Date(281474976710654).toString() = Tue Aug 02 10889 07:31:49

If a system clock exceeds this range, operations will throw. This is intentional — there's no reasonable fallback for a misconfigured clock.