Function __global->make_nice_timezone_name

Definitions

sources/temporal2.php

  • Turn a boring timezone name into the pretty shortened list of ones Microsoft uses and others now use too.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$in string No No required parameter N/A N/A Boring name

Returns

  • Nice name
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Turn a boring timezone name into the pretty shortened list of ones Microsoft uses and others now use too.
 *
 * @param  string $in Boring name
 * @return string Nice name
 */

function make_nice_timezone_name(string $in) : string