1DateTime::Format::RFC33U3s9e(r3)Contributed Perl DocumenDtaatteiToinme::Format::RFC3339(3)
2
3
4

NAME

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

VERSION

9       Version 1.2.0
10

SYNOPSIS

12           use DateTime::Format::RFC3339;
13
14           my $f = DateTime::Format::RFC3339->new();
15           my $dt = $f->parse_datetime( '2002-07-01T13:50:05Z' );
16
17           # 2002-07-01T13:50:05Z
18           print $f->format_datetime($dt);
19

DESCRIPTION

21       This module understands the RFC3339 date/time format, an ISO 8601
22       profile, defined at <http://tools.ietf.org/html/rfc3339>.
23
24       It can be used to parse these formats in order to create the
25       appropriate objects.
26

METHODS

28       "parse_datetime($string)"
29           Given a RFC3339 datetime string, this method will return a new
30           DateTime object.
31
32           If given an improperly formatted string, this method will croak.
33
34           For a more flexible parser, see DateTime::Format::ISO8601.
35
36       "format_datetime($datetime)"
37           Given a DateTime object, this methods returns a RFC3339 datetime
38           string.
39

SEE ALSO

41       ·   DateTime
42
43       ·   DateTime::Format::ISO8601
44
45       ·   <http://tools.ietf.org/html/rfc3339>, "Date and Time on the
46           Internet: Timestamps"
47

BUGS

49       Please report any bugs or feature requests to
50       "bug-Datetime-Format-RFC3339 at rt.cpan.org", or through the web
51       interface at
52       <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=DateTime-Format-RFC3339>.
53       I will be notified, and then you'll automatically be notified of
54       progress on your bug as I make changes.
55

SUPPORT

57       You can find documentation for this module with the perldoc command.
58
59           perldoc DateTime::Format::RFC3339
60
61       You can also look for information at:
62
63       ·   Search CPAN
64
65           <http://search.cpan.org/dist/DateTime-Format-RFC3339>
66
67       ·   RT: CPAN's request tracker
68
69           <http://rt.cpan.org/NoAuth/Bugs.html?Dist=DateTime-Format-RFC3339>
70
71       ·   AnnoCPAN: Annotated CPAN documentation
72
73           <http://annocpan.org/dist/DateTime-Format-RFC3339>
74
75       ·   CPAN Ratings
76
77           <http://cpanratings.perl.org/d/DateTime-Format-RFC3339>
78

AUTHOR

80       Eric Brine, "<ikegami@adaelis.com>"
81
83       No rights reserved.
84
85       The author has dedicated the work to the Commons by waiving all of his
86       or her rights to the work worldwide under copyright law and all related
87       or neighboring legal rights he or she had in the work, to the extent
88       allowable by law.
89
90       Works under CC0 do not require attribution. When citing the work, you
91       should not imply endorsement by the author.
92
93
94
95perl v5.28.0                      2015-10-09      DateTime::Format::RFC3339(3)
Impressum