Thanks for the reply.
I want London time. Hence i used the following code to find.
$now = gmtime() ;
print $now;
the print is "Sat Aug 20 08:26:46 2011". This is GMT time. London Current time zone is UTC/GMT +1 hour. Hence I need to add 1 hour.
Regards
Suresh
Well, that is partially correct. London time is GMT, but not just now because Londen (as most —if not all— of Western Europe) is in Daylight Saving Time. The second DST ends for England, adding an hour to the current time would give wrong results if what you want is "London time." DateTime knows about DST details — which varies between one country and another! Although the EU is, as I recall, pretty consistent about it — so you really should look into it.