my $dt = DateTime->new( year => $my_year, month => $my_mon, day => $my_day, hour => $my_hours, minute => $my_minutes, time_zone => 'GMT', ); $dt->set_time_zone( $zone ); $rh = $dt->hour; #returns the adjusted hour $rm = $dt->minute; #returns the adjusted minutes