WC_DateTime::getOffset()

Get UTC offset if set, or default to the DateTime object’s offset.


Description Description


Source Source

File: includes/class-wc-datetime.php

	public function getOffset() {
		return $this->utc_offset ? $this->utc_offset : parent::getOffset();
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.