The part i am not understanding in the posix doc is the timezone -- they are always referring to something like America/Chicago, but i have +0000 and when i try to use it nothing happens -- could you please provide an example -- i have trouble understanding the documentation.
So i slept on it and came up with this in the morning:
my @time = qw(Tue, 01 Jan 2013 16:05:53 +0000);
my $format = new DateTime::Format::Strptime(
pattern => '%a, %d %b %Y %H:%M:%S',
time_zone => "$tz",
my $date = $format->parse_datetime($val);
print $date->strftime("%a, %d %b %Y %H:%M:%S %Z")."\n";