Concept

Selector families and target resolution

Choose one target strategy per request and keep that rule consistent across your integration.

One target strategy per request

TimeLogic API resolves time targets through four selector families: `tz`, `ip`, `lat` + `lon`, or `offset`. The public docs should make that explicit because mixing selector families creates ambiguity and usually signals an integration bug upstream.

The cleanest production pattern is to normalize on a single canonical selector family in your own app, then use the others only for ingestion or fallback workflows.

  • Use `tz` when your system already stores IANA timezone names.
  • Use `ip` when you are resolving an end user before you have profile settings.
  • Use coordinates when geography exists but a timezone label does not.
  • Use `offset` only when a fixed UTC offset is truly what you mean.

Wall-clock timestamps need context

Routes that accept ISO input can interpret local wall-clock times when you pair the timestamp with a source timezone field. Without that context, an ISO string without an explicit offset is not enough to reconstruct the intended instant.

That rule matters most in conversion, elapsed-time, and diff workflows where business logic depends on exact instant boundaries rather than display output.

Related endpoints

Get the current time for a target

Use this route to validate selector resolution and inspect the canonical single-target time payload.

Open endpoint

Convert a timestamp into a target timezone or offset

Use conversion when you already know the source instant and need the target rendered in another timezone or offset.

Open endpoint

Resolve timezone information for a target

Use timezone resolution when the main question is zone identity and metadata rather than the formatted current time.

Open endpoint

Daylight-saving status for a target

Use DST status when offset change awareness matters to scheduling, billing windows, or user-facing time displays.

Open endpoint