public static function PHPExcel_Shared_TimeZone::setTimeZone in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/TimeZone.php \PHPExcel_Shared_TimeZone::setTimeZone()
* Set the Default Timezone used for date/time conversions * *
Parameters
string $timezone Time zone (e.g. 'Europe/London'): * @return boolean Success or failure
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Shared/ TimeZone.php, line 66
Class
- PHPExcel_Shared_TimeZone
- PHPExcel_Shared_TimeZone
Code
public static function setTimeZone($timezone) {
if (self::_validateTimezone($timezone)) {
self::$_timezone = $timezone;
return TRUE;
}
return FALSE;
}