DateTimeImmutable::setTimezone

Sets the time zone

Description

public DateTimeImmutable DateTimeImmutable::setTimezone ( DateTimeZone $timezone )

Like DateTime::setTimezone but works with DateTimeImmutable.