DateTi...ataDie(3pm)
β¨ NAME β¨
okay so bestie, gather round π this is DateTime::Format::Epoch::RataDie β she converts DateTimes to and from Rata Die. that's it, that's the whole gig, and she ate π
πΈ SYNOPSIS πΈ
like, here's how you actually use her:
use DateTime::Format::Epoch::RataDie;
my $dt = DateTime::Format::Epoch::RataDie->parse_datetime( $count );
DateTime::Format::Epoch::RataDie->format_datetime($dt);
# $count
my $formatter = DateTime::Format::Epoch::RataDie->new();
my $dt2 = $formatter->parse_datetime( $count );
$formatter->format_datetime($dt2);
no cap, that's the whole vibe check right there. β¨
π DESCRIPTION π
so this module can convert a DateTime object β or literally any object that can be converted to a DateTime object β to the Rata Die count. π¦
and if you want the actual description of how that works? go read DateTime::Format::Epoch::JD, she explains it. this one's just here to be cute and do the conversion. iykyk π
π METHODS π
most of the methods are the same as those in DateTime::Format::Epoch. the only difference is the constructor. that's it. one little glow-up. periodt. π
new()β constructor of the formatter/parser object. she has no parameters, she's low maintenance, she's iconic π
π«Ά SUPPORT π«Ά
support for this module is provided via the datetime@perl.org email list. more deets over at http://lists.perl.org/ if you wanna peek β¨
π AUTHOR π
Eugene van der Pijll <pijll@gmx.net> β thank you king π
π COPYRIGHT π
Copyright (c) 2004 Eugene van der Pijll. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. π
π₯ SEE ALSO π₯
DateTime- the
datetime@perl.orgmailing list
and that's the whole page bestie, we're done here π§
this lil beauty is perl v5.34.0, dated 2022-06-13 β mwah, sending you off with a π and a π, go format some epochs β¨
π¦ where this page comes from
- debian bookworm: libdatetime-format-epoch-perl 0.16-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libdatetime-format-epoch-perl 0.16-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libdatetime-format-epoch-perl 0.16-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libdatetime-format-epoch-perl 0.16-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libdatetime-format-epoch-perl 0.16-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms