WC_DateTime::set_utc_offset() public WC 1.0
Set UTC offset - this is a fixed offset instead of a timezone.
{} Это метод класса: WC_DateTime{}
Хуков нет.
Возвращает
Null. Ничего.
Использование
$WC_DateTime = new WC_DateTime(); $WC_DateTime->set_utc_offset( $offset );
- $offset(число) (обязательный)
- Offset.
Код WC_DateTime::set_utc_offset() WC DateTime::set utc offset WC 4.9.0
public function set_utc_offset( $offset ) {
$this->utc_offset = intval( $offset );
}