← 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)Magician (eval)
AvailableAvailable

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.