TwistPHP Documentation

getTimezone

File path: dist/twist/Core/Utilities/Localisation.utility.php
Namespace: Twist\Core\Utilities
Extends: Base

getTimezoneGet a single-dimensional array of timezone information related to the provided timezone code.

Parameters

Name Type Description
$strTimezoneCodestringn/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$strTimezoneCode 'foo';

//Call the function getTimezone with the example vars
Twist::Localisation() -> getTimezone($strTimezoneCode);