- var_dump: documentation ( source)
- date_default_timezone_set: documentation ( source)
<?php
date_default_timezone_set("Europe/London");
$dt = new DateTimeImmutable("2021-03-28T02:00");
var_dump(
$dt->format("c"),
$dt->modify('-1 hour')->format("c")
);