PHP how to change the time

Associate
Joined
28 Feb 2007
Posts
969
Location
Leeds/Sunderland
How can i change the time so it -1 hour or uk time
heres the code:
PHP:
<?php
header ("Content-type: image/png");
header ("refresh: 1 ");
$img = imagecreatefrompng ("sig.png");
$colour = ImageColorAllocate ($img, 1000, 200, 100);
$read1 = date("D dS M y ");
$read2 = date(" h:i:s A");
$input = ($read1);
$input1 = ($read2);
ImageString($img, 3, 140, 25, $input, $colour);
ImageString($img, 3, 150, 40, $input1, $colour);
imagepng($img);

?>
 
Back
Top Bottom