WordPress at Your Fingertips
function is not described

ActionScheduler_DateTime::setUtcOffset() public WC 1.0

Set the UTC offset.

This represents a fixed offset instead of a timezone setting.

{} It's a method of the class: ActionScheduler_DateTime{}

No Hooks.


null. Nothing.


$ActionScheduler_DateTime = new ActionScheduler_DateTime();
$ActionScheduler_DateTime->setUtcOffset( $offset );
$offset (required)

Code of ActionScheduler_DateTime::setUtcOffset() WC 6.1.1

public function setUtcOffset( $offset ) {
	$this->utcOffset = intval( $offset );