1DateTime::Format::EpochU:s:eLrilCioannt(r3i)buted Perl DDoactuemTeinmtea:t:iFoonrmat::Epoch::Lilian(3)
2
3
4

NAME

6       DateTime::Format::Epoch::Lilian - Convert DateTimes to/from Lilian Days
7

SYNOPSIS

9         use DateTime::Format::Epoch::Lilian;
10
11         my $dt = DateTime::Format::Epoch::Lilian->parse_datetime( 53244.5 );
12          # 2004-08-27T00:00:00
13
14         DateTime::Format::Epoch::Lilian->format_datetime($dt);
15          # 53244.5
16
17         my $formatter = DateTime::Format::Epoch::Lilian->new();
18         my $dt2 = $formatter->parse_datetime( 53244.5 );
19          # 2004-08-27T00:00:00
20         $formatter->format_datetime($dt2);
21          # 53244.5
22

DESCRIPTION

24       This module can convert a DateTime object (or any object that can be
25       converted to a DateTime object) to the Modified Julian Day number. See
26       DateTime::Format::Epoch::JD for a description.
27

METHODS

29       Most of the methods are the same as those in DateTime::Format::Epoch.
30       The only difference is the constructor.
31
32new()
33
34           Constructor of the formatter/parser object. It has no parameters.
35

SUPPORT

37       Support for this module is provided via the datetime@perl.org email
38       list. See http://lists.perl.org/ for more details.
39

AUTHOR

41       Eugene van der Pijll <pijll@gmx.net>
42
44       Copyright (c) 2004 Eugene van der Pijll.  All rights reserved.  This
45       program is free software; you can redistribute it and/or modify it
46       under the same terms as Perl itself.
47

SEE ALSO

49       DateTime
50
51       datetime@perl.org mailing list
52
53
54
55perl v5.36.0                      2022-07-22DateTime::Format::Epoch::Lilian(3)
Impressum