I'm trying to manipulate a time stamp. The original time is UTC and is stored as
2011-07-24T17:46:33Z
I need to convert this from UTC to the Olsen zone "America/North_Dakota/Center". I am using the perl module
Date::Manip::Date.
I have tried various scripts coming up with this mess
#!/usr/bin/perl -w
use strict;
use warnings;
use Date::Manip::Date;
my $date = "2011-07-24T17:46:33Z";
my $localzone = "America/North_Dakota/Center";
my $err = $date->convert([$localzone]);
print $err;
and I am not getting anywhere to convert this. The desired output is
2011-07-24 12:46:33 PM CDT AND be daylight savings time sensative.
Anyone have mercy on this poor soul?