1DateTime::Format::EpochU:s:eRratCaoDniter(i3b)uted PerlDDaotceuTmiemnet:a:tFioornmat::Epoch::RataDie(3)
2
3
4
6 DateTime::Format::Epoch::RataDie - Convert DateTimes to/from Rata Die
7
9 use DateTime::Format::Epoch::RataDie;
10
11 my $dt = DateTime::Format::Epoch::RataDie->parse_datetime( $count );
12
13 DateTime::Format::Epoch::RataDie->format_datetime($dt);
14 # $count
15
16 my $formatter = DateTime::Format::Epoch::RataDie->new();
17 my $dt2 = $formatter->parse_datetime( $count );
18 $formatter->format_datetime($dt2);
19
21 This module can convert a DateTime object (or any object that can be
22 converted to a DateTime object) to the Rata Die count. See
23 DateTime::Format::Epoch::JD for a description.
24
26 Most of the methods are the same as those in DateTime::Format::Epoch.
27 The only difference is the constructor.
28
29 ยท new()
30
31 Constructor of the formatter/parser object. It has no parameters.
32
34 Support for this module is provided via the datetime@perl.org email
35 list. See http://lists.perl.org/ for more details.
36
38 Eugene van der Pijll <pijll@gmx.net>
39
41 Copyright (c) 2004 Eugene van der Pijll. All rights reserved. This
42 program is free software; you can redistribute it and/or modify it
43 under the same terms as Perl itself.
44
46 DateTime
47
48 datetime@perl.org mailing list
49
50
51
52perl v5.32.0 2020-07-28DateTime::Format::Epoch::RataDie(3)