DateTime::HiRes(3pm) | User Contributed Perl Documentation | DateTime::HiRes(3pm) |
DateTime::HiRes - Create DateTime objects with sub-second current time resolution
version 0.04
use DateTime::HiRes; my $dt = DateTime::HiRes->now;
This module enables you to generate DateTime objects that represent the current time with sub-second resolution.
This class provides the following methods:
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. The sub-second precision of "Time::HiRes" is highly system dependent and will vary from one platform to the next.
Just like "DateTime->now" it accepts "time_zone" and "locale" parameters.
Everyone at the DateTime "Asylum".
DateTime, Time::HiRes
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".
The source code repository for DateTime-HiRes can be found at <https://github.com/houseabsolute/DateTime-HiRes>.
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.
2023-01-22 | perl v5.36.0 |