effect-io-ai

Package: effect
Module: DateTime

DateTime.DateTime.InstantWithZone

Object input representing an absolute instant plus a time zone identifier.

Details

DateTime.makeZoned and DateTime.makeZonedUnsafe use timeZoneId when no explicit timeZone option is supplied.

Signature

export interface InstantWithZone {
    readonly timeZoneId: string
    readonly epochMilliseconds: number
  }

Source

Since v4.0.0