ClassGo

DateTimeZone

Synopsis

class DateTimeZone {

}

Description

DateTimeZone is a class phpscript declares.

$object = new DateTimeZone($name);

Methods

public function get_name(): string

get_name is the zone's name.

The go method GetName.

public function get_offset(object $at): int

get_offset is the zone's offset from UTC in seconds at the given moment.

The go method GetOffset.

Static methods

Binding

Go type
github.com/titpetric/phpx/stdlib/px/phpx.DateTimeZonegodoc
Package
github.com/titpetric/phpx/stdlib/px/phpxgodoc

See also