in reply to Re^2: Format XML Atom DateTime
in thread Format XML Atom DateTime

Just for reference, is the xml date format I mentioned able to be identified and re-formatted using Date::Format or another perl module?

Never used Date::Format before, but a minute of looking shows its should be able to handle it without any problem

#!/usr/bin/perl -- use strict; use warnings; use Date::Format(); use Date::Parse(); use feature qw/ say /; my @t = Date::Parse::strptime( q/2012-02-25T18:48:34.835-05:00/); say Date::Format::strftime( q/%Y-%m-%d %H:%M:%S/, @t, ); __END__ 2012-02-25 18:48:34