Dear friends,

I'm very impressed with the work that David Rolsky had with TimeDate::TimeZone 
module. But I've got a problem: as usually, my host does not want to install 
the modules in the server - so I can't access them this way. What simple 
transformations could I do to have a perl script to call the routine:

  use DateTime;
  use DateTime::TimeZone

  my $tz = DateTime::TimeZone->new( name => 'Europe/Lisbon' );

  my $dt = DateTime->now(); #Or other date
  my $offset = $tz->offset_for_datetime($dt);

There are too many functions depending on others. You might know how to call 
directly the offset_for_datetime function.

Please answer as soon as possible - this is very important in my current 
project.

Kind regards,

Rui Miguel Fernandes
Porto - Portugal

Reply via email to