Rose::DateTime(3pm)
π Rose::DateTime π
ok so bestie, welcome to Rose::DateTime β the DateTime helper functions and objects situation. it's giving "small but mighty", fr fr. β¨
β¨ SYNOPSIS β¨
ok so here's the vibe, copy-paste and go:
use Rose::DateTime::Util qw(:all);
$now = parse_date('now');
$then = parse_date('12/25/2001 6pm');
$date_text = format_date($then, "%D at %T %p");
...
use Rose::DateTime::Parser;
$parser = Rose::DateTime::Parser->new(time_zone => 'UTC');
$date = $parser->parse_date('12/25/1999');
see? iconic. no cap. π«Ά
πΈ DESCRIPTION πΈ
so the Rose::DateTime::* modules are basically a little squad of convenience functions and objects that hang out with DateTime dates. that's the whole job. π
Rose::DateTime::Util is carrying a simple date parser plus a slightly customized date formatter. lowkey the workhorse.
Rose::DateTime::Parser wraps a date parser up with its own associated default time zone. it's the parser but with commitment issues resolved. π
and then there's this module β Rose::DateTime itself β which honestly exists mostly just to provide a version number for CPAN. that's it. that's the whole personality. π it's the group chat member who never types but is still in the chat. the actual documentation lives in the individual modules, so go read those for the real tea.
ngl if you came here looking for functions, you're in the wrong room bestie β but the version number is here and it ate. π
π¦ SEE ALSO π¦
DateTimeDateTime::TimeZone
go forth, they're both bangers. β¨
π AUTHOR π
John C. Siracusa (siracusa@gmail.com) β the main character who made all this happen. ππ
π LICENSE π
Copyright (c) 2010 by John C. Siracusa. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
so yeah, same terms as Perl itself β do your thing, just respect the terms. periodt. π
ok that's the whole page bestie, ty for coming to my ted talk π§
this was Rose::DateTime from perl v5.34.0, dated 2022-06-17 β mwah, stan, see u next manpage π
πβ
π¦ where this page comes from
- debian bookworm: librose-datetime-perl 0.540-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: librose-datetime-perl 0.540-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: librose-datetime-perl 0.540-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: librose-datetime-perl 0.540-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: librose-datetime-perl 0.540-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