← All docs

timezone_name_get()

Returns a timezone's identifier.

timezone_name_get()

function timezone_name_get(mixed $object): string

Returns a timezone’s identifier.

Parameters:

  • $object (mixed)

Returns: string

Availability

  • Compiled (AOT): supported through the Elephc compiler.
  • 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_name_get is implemented in the compiler, see the internals page.