hi to all
I hav a problem with GWT
i use the following code:

use DateTime::Precise;

my $midnight = DateTime::Precise -> new();

my $day     = $now -> day;
my $month       = $now -> month;
my $year        = $now -> year;
                
$midnight -> set_from_datetime(qq($year.$month.$day 00:00:01));
$search_start = sprintf("%d", $midnight -> unix_seconds_since_epoch);

$date_start_string = localtime($search_start);
$date_start_string is Wed Oct 24 02:00:01 2001
do anyone know how to get local timezone and not greanwich time back ?

Thanks
Martin



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to