Please i need help on how to set php time to GMT +1 below is my code which reads +2

<?php
// Displays in the format Saturday, November 22, 2003 11.38 
echo date("l, F d, Y P:h:i:A:e" ,time()); 


?>

ex (+8), just change 'Asia/Taipei' it will work 101% using date().

date_default_timezone_set('Asia/Taipei');

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.