In order to do this, you have to choose a time zone.
I assume you mean "London":
use DateTime::Format::ISO8601; my $parser = DateTime::Format::ISO8601->new(); my $dt = $parser->parse_datetime( '2004-10-05' ); $dt->set_time_zone( 'Europe/London' ); print( $dt->is_dst ? 'Y' : 'N' )
In reply to Re: Daylight Savings Time Determination
by fglock
in thread Daylight Savings Time Determination
by rtremaine
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |