← All docs

timezone_location_get()

Returns a timezone's country code, latitude, longitude, and comments.

timezone_location_get()

function timezone_location_get(mixed $object): mixed

Returns a timezone’s country code, latitude, longitude, and comments.

Parameters:

  • $object (mixed)

Returns: mixed

Availability

  • Compiled (AOT): supported through the compiler-injected tz prelude.
  • eval() (magician interpreter): supported through the procedural date/time alias dispatcher.

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

For how timezone_location_get is implemented in the compiler, see the internals page.