My PHP command which is below that I used to outcome the current date and time is one hour behind the current time. How can I make use PHP to output the actual current UK time and date?
Command in PHP
new DateTime();
Output which the current time is one hour behind the current time.
[Date the login occurred] => DateTime Object
(
[date] => 2019-04-10 12:54:54.000000
[timezone_type] => 3
[timezone] => UTC
)