-
-
26 Jul 2020 22:47:50 UTC
- Distribution: DateTime-HiRes
- Module version: 0.04
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues
- Testers (1441 / 6 / 0)
- Kwalitee
Bus factor: 1- 100.00% Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (27.05KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- NAME
- VERSION
- SYNOPSIS
- DESCRIPTION
- METHODS
- CREDITS
- SEE ALSO
- SUPPORT
- SOURCE
- AUTHORS
- CONTRIBUTOR
- COPYRIGHT AND LICENSE
NAME
DateTime::HiRes - Create DateTime objects with sub-second current time resolution
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.
METHODS
This class provides the following methods:
DateTime::HiRes->now( ... )
Similar to
DateTime->now
but usesTime::HiRes::time()
instead of Perl'sCORE::time()
to determine the current time. The returned object will have fractional second information stored as nanoseconds. The sub-second precision ofTime::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.CREDITS
Everyone at the DateTime
Asylum
.SEE ALSO
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>
COPYRIGHT AND LICENSE
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.
Module Install Instructions
To install DateTime::HiRes, copy and paste the appropriate command in to your terminal.
cpanm DateTime::HiRes
perl -MCPAN -e shell install DateTime::HiRes
For more information on module installation, please visit the detailed CPAN module installation guide.