in reply to Re: Dumb question...probably...
in thread Dumb question...probably...
What am I missing here...? Regards, Kepleruse DateTime; use DateTime::TimeZone; #For testing $zone = "America/Chicago"; $date = "8/5/1967"; $time = "8:30:00"; my $tz = DateTime::TimeZone->new( name => $zone ); ($day,$month,$year) =~ split(/\//,$date); ($hour,$minutes,$seconds) =~ split(/\:/,$time); my $dt = DateTime->new( year => $year, month => $month, day => $day, hour => $hour, minute => $minutes, second => $seconds, );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Dumb question...probably...
by Your Mother (Archbishop) on Aug 20, 2014 at 19:57 UTC | |
|
Re^3: Dumb question...probably...
by kepler (Scribe) on Aug 20, 2014 at 20:00 UTC | |
by Anonymous Monk on Aug 20, 2014 at 20:18 UTC | |
|