public function GeoTimezone::getOffset in Geo Time Zone 7.2
Same name and namespace in other branches
- 8.3 src/GeoTimezone.php \Drupal\geotimezone\GeoTimezone::getOffset()
- 8 src/GeoTimezone.php \Drupal\geotimezone\GeoTimezone::getOffset()
- 8.2 src/GeoTimezone.php \Drupal\geotimezone\GeoTimezone::getOffset()
- 6.2 src/GeoTimezone.php \Drupal\geotimezone\GeoTimezone::getOffset()
- 6 src/GeoTimezone.php \Drupal\geotimezone\GeoTimezone::getOffset()
- 7 src/GeoTimezone.php \Drupal\geotimezone\GeoTimezone::getOffset()
Get the time zone offset.
Return value
string Time zone offset.
Overrides TimezoneInterface::getOffset
File
- src/
GeoTimezone.php, line 87 - Contains \Drupal\geotimezone\GeoTimezone.
Class
- GeoTimezone
- Determine the time zone based on coordinates.
Namespace
Drupal\geotimezoneCode
public function getOffset() {
return $this->timezone
->getOffset();
}