PHP get UK local time from Server in different time zone
Don't use gmdate("d-m-Y H:i:s") here because it returns GMT. Instead use date("d-m-Y H:i:s"). Try this -
date_default_timezone_set('Europe/London');
$sTime = date("d-m-Y H:i:s");
print 'The time is: ' . $sTime;