View Full Version : Displaying different time?

11-05-2003, 10:36 AM
Hi there,

I am really struggling with this one, i need to show the time on a site i am working on in 2 formats.

The UK time and the time in Italy or even the surfers time and the time in italy.

Any ideas or help would be greatly appreciated, as everything i have tried has failed miserably.


11-05-2003, 01:43 PM
TRy this

putenv("TZ=Europe/Italy" );
echo date("H:i");