public function GeoTimezone::getOffset in Geo Time Zone 6
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()
- 7.2 src/GeoTimezone.php \Drupal\geotimezone\GeoTimezone::getOffset()
- 7 src/GeoTimezone.php \Drupal\geotimezone\GeoTimezone::getOffset()
Get the timezone offset.
Return value
string Timezone offset.
File
- src/
GeoTimezone.php, line 87 - Contains \Drupal\geotimezone\GeoTimezoneMap.
Class
- GeoTimezone
- Determine the timezone based on coordinates.
Namespace
Drupal\geotimezoneCode
public function getOffset() {
return $this->timezone
->getOffset();
}