WC_DateTime::getOffsetTimestamp()

Get the timestamp with the WordPress timezone offset added or subtracted.


Description Description


Return Return

(int)


Top ↑

Source Source

File: includes/class-wc-datetime.php

	public function getOffsetTimestamp() {
		return $this->getTimestamp() + $this->getOffset();
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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