GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
DateTime::Format::RFC3339(3) User Contributed Perl Documentation DateTime::Format::RFC3339(3)

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

Version 1.0.5

    use DateTime::Format::RFC3339;

    my $f = DateTime::Format::RFC3339->new();
    my $dt = $f->parse_datetime( '2002-07-01T13:50:05Z' );

    # 2002-07-01T13:50:05Z
    print $f->format_datetime($dt);

This module understands the RFC3339 date/time format, an ISO 8601 profile, defined at <http://tools.ietf.org/html/rfc3339>.

It can be used to parse these formats in order to create the appropriate objects.

"parse_datetime($string)"
Given a RFC3339 datetime 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::ISO8601.

"format_datetime($datetime)"
Given a DateTime object, this methods returns a RFC3339 datetime string.

  • DateTime
  • DateTime::Format::ISO8601
  • <http://tools.ietf.org/html/rfc3339>, "Date and Time on the Internet: Timestamps"

Please report any bugs or feature requests to "bug-datetime-format-rfc3339 at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=DateTime-Format-RFC3339>. 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::RFC3339

You can also look for information at:

  • Search CPAN

    <http://search.cpan.org/dist/DateTime-Format-RFC3339>

  • RT: CPAN's request tracker

    <http://rt.cpan.org/NoAuth/Bugs.html?Dist=DateTime-Format-RFC3339>

  • AnnoCPAN: Annotated CPAN documentation

    <http://annocpan.org/dist/DateTime-Format-RFC3339>

  • CPAN Ratings

    <http://cpanratings.perl.org/d/DateTime-Format-RFC3339>

Eric Brine, "<ikegami@adaelis.com>"

No rights reserved.

The author has dedicated the work to the Commons by waiving all of his or her rights to the work worldwide under copyright law and all related or neighboring legal rights he or she had in the work, to the extent allowable by law.

Works under CC0 do not require attribution. When citing the work, you should not imply endorsement by the author.

2011-03-29 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.