Re: AW: Localtime DST / TZ question

2004-04-02 Thread Rob Nagler
Denis Banovic writes: > Is there any other way to tell mod_perl which time_zone to take? You might want to let the browser do the string conversion for you using JavaScript. Another trick is store the time zone offset (also computed with JavaScript) in the cookie if you need it on the server to d

AW: Localtime DST / TZ question

2004-04-02 Thread Denis Banovic
D] Betreff: Re: Localtime DST / TZ question On Fri, Apr 02, 2004 at 09:48:11AM +0200, Denis Banovic wrote: > Can somebody please tell me, how to tell mod_perl to use a different time zone? I prefer the DateTime module. use DateTime; my $dt = DateTime->now(time_zone => "Eur

Localtime DST / TZ question

2004-04-01 Thread Denis Banovic
Hi! I have a problem with the localtime function under mod_perl. When I run this script in shell, I get the correct time and Daylight-Saving, but under mod_perl he is always using the local TimeZone of the system. ( Sever is in the US, I'm sitting in Europe ) Here is the script: #!/usr/bin/p