Function __global->date_default_timezone_get

Definitions

sources_custom/phpstub.php

  • Gets the default timezone used by all date/time functions in a script.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Returns

  • The timezone identifier
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Gets the default timezone used by all date/time functions in a script.
 *
 * @return string The timezone identifier
 */

function date_default_timezone_get() : string