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.
DateTime
DateTime::Format::RFC3339
DateTime::Format::Strptime
http://tools.ietf.org/html/rfc3501, "Internet Message Access Protocol - version 4rev1"
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.
bug-datetime-format-rfc3501 at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc DateTime::Format::RFC3501
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=DateTime-Format-RFC3501
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/DateTime-Format-RFC3501
CPAN Ratings
http://cpanratings.perl.org/d/DateTime-Format-RFC3501
Search CPAN
http://search.cpan.org/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.
To install DateTime::Format::RFC3501, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DateTime::Format::RFC3501
CPAN shell
perl -MCPAN -e shell install DateTime::Format::RFC3501
For more information on module installation, please visit the detailed CPAN module installation guide.