DateTime::HiRes(3)

πŸ’– NAME πŸ’–

okay so this is the DateTime::HiRes(3) page from the User Contributed Perl Documentation, and it's literally all about DateTime::HiRes β€” create DateTime objects with sub-second current time resolution. periodt πŸ’…

✨ VERSION ✨

version 0.04 πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

use DateTime::HiRes;

my $dt = DateTime::HiRes->now;

πŸŽ€ DESCRIPTION πŸŽ€

This module enables you to generate DateTime objects that represent the current time with sub-second resolution. it's giving precision, bestie ✨

πŸ’… METHODS πŸ’…

This class provides the following methods:

🌸 DateTime::HiRes->now( ... ) 🌸

Similar to DateTime->now but uses Time::HiRes::time() instead of Perl's CORE::time() to determine the current time. the returned object will have fractional second information stored as nanoseconds πŸ‘‘

and real talk: the sub-second precision of Time::HiRes is highly system dependent and will vary from one platform to the next β€” no cap, it's not one-size-fits-all πŸ’€

Just like DateTime->now it accepts time_zone and locale parameters. slay 🫢

🌈 CREDITS 🌈

everyone at the DateTime "Asylum" β€” iconic behavior, fr fr πŸŽ€

πŸ¦‹ SEE ALSO πŸ¦‹

  • DateTime πŸ’–
  • Time::HiRes ✨

πŸ’œ SUPPORT πŸ’œ

Bugs may be submitted at <https://github.com/houseabsolute/DateTime-HiRes/issues>.

I am also usually active on IRC as 'autarch' on irc://irc.perl.org.

🧚 SOURCE 🧚

The source code repository for DateTime-HiRes can be found at <https://github.com/houseabsolute/DateTime-HiRes>.

πŸ‘‘ AUTHORS πŸ‘‘

  • Joshua Hoblitt <jhoblitt@cpan.org> πŸ’–
  • Dave Rolsky <autarch@urth.org> πŸ¦‹

🌸 CONTRIBUTOR 🌸

  • Roy Ivy III <rivy.dev@gmail.com> 🫢

This software is copyright (c) 2020 by Joshua Hoblitt.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

The full text of the license can be found in the LICENSE file included with this distribution.


πŸŽ€ and that's the whole page, bestie β€” footer vibes: perl v5.42.0, 2023-01-03, DateTime::HiRes(3). byeee πŸ’‹

πŸ“¦ where this page comes from