ActionScheduler_DateTime::getOffset │ public │ WC 1.0 │ ReturnTypeWillChange

Returns the timezone offset.

Method of the class: ActionScheduler_DateTime{}

No Hooks.

Returns

int.

Usage

$ActionScheduler_DateTime = new ActionScheduler_DateTime();
$ActionScheduler_DateTime->getOffset();

ActionScheduler_DateTime::getOffset() code WC 11.3.0

public function getOffset() {
	return $this->utcOffset ? $this->utcOffset : parent::getOffset(); // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
}