DateTime
- Parsing ISO dates
use DateTime; use DateTime::Format::ISO8601; my $str = '2004-10-11T11:09:52.023296+13:00'; my $dt = DateTime::Format::ISO8601->parse_datetime($str);
use DateTime; use DateTime::Format::ISO8601; my $str = '2004-10-11T11:09:52.023296+13:00'; my $dt = DateTime::Format::ISO8601->parse_datetime($str);