2 ion\Timestamp with TZ as string
10 $ts = new ion\Timestamp(
11 precision: ion\Timestamp\Precision::MinTZ,
12 format: \ion\Timestamp\Format::Min,
13 datetime: "2022-02-28T11:40",
14 timezone: "Europe/Madrid",
16 var_dump($ts->getTimezone());
18 echo $ts->setTimezone(new DateTimeZone(("America/Toronto"))), "\n";
23 object(DateTimeZone)#%d (2) {
27 string(13) "Europe/Madrid"
29 2022-02-28T11:40+01:00
30 2022-02-28T05:40-05:00