Function __global->get_site_timezone

Definitions

sources/temporal.php

  • Get the timezone the site is running on.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Returns

  • Site timezone in "boring" format
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get the timezone the site is running on.
 *
 * @return string Site timezone in "boring" format
 */

function get_site_timezone() : string