ActionScheduler_DateTime::getOffsetTimestamp()
Get the timestamp with the WordPress timezone offset added or subtracted.
Method of the class: ActionScheduler_DateTime{}
No Hooks.
Return
Int
.
Usage
$ActionScheduler_DateTime = new ActionScheduler_DateTime(); $ActionScheduler_DateTime->getOffsetTimestamp();
Changelog
Since 3.0.0 | Introduced. |
ActionScheduler_DateTime::getOffsetTimestamp() ActionScheduler DateTime::getOffsetTimestamp code WC 9.5.1
public function getOffsetTimestamp() { return $this->getTimestamp() + $this->getOffset(); }