Function __global->convert_timezone_offset_to_formal_timezone

Definitions

sources/temporal.php

  • Given a timezone offset, make it into a formal timezone.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$offset float No No required parameter N/A N/A Timezone offset

Returns

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

Preview

Code (PHP)

/**
 * Given a timezone offset, make it into a formal timezone.
 *
 * @param  float $offset Timezone offset
 * @return string Users timezone in "boring" format
 */

function convert_timezone_offset_to_formal_timezone(float $offset) : string