
DateTime::Format::RFC3501 - Parse and format RFC3501 datetime strings

version 0.02

use DateTime::Format::RFC3501;
my $f = DateTime::Format::RFC3501->new();
my $dt = $f->parse_datetime( ' 1-Jul-2002 13:50:05 +0200' );
# 1-Jul-2002 13:50:05 +0200
print $f->format_datetime($dt);

This module understands the RFC3501 date-time format, defined at http://tools.ietf.org/html/rfc3501.
It can be used to parse this format in order to create the appropriate objects.

Returns a new RFC3501 parser object.
Given a RFC3501 date-time string, this method will return a new DateTime object.
If given an improperly formatted string, this method will croak.
For a more flexible parser, see DateTime::Format::Strptime.
Given a DateTime object, this methods returns a RFC3501 date-time string.

This module was heavily inspired by DateTime::Format::RFC3339.


Please report any bugs or feature requests to bug-datetime-format-rfc3501 at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=DateTime-Format-RFC3501. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

You can find documentation for this module with the perldoc command.
perldoc DateTime::Format::RFC3501
You can also look for information at:
http://rt.cpan.org/NoAuth/Bugs.html?Dist=DateTime-Format-RFC3501

Alex Muntada <alexm@cpan.org>

This software is copyright (c) 2011 by Alex Muntada.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.