ClassGo
DateTimeZone
Synopsis
class DateTimeZone {
- public function __construct(string $name);
- public function get_name(): string;
- public function get_offset(object $at): int;
- public static listIdentifiers(mixed ...): mixed;
}
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.