Current Path : /usr/local/lib/perl5/site_perl/5.8.9/DateTime/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/lib/perl5/site_perl/5.8.9/DateTime/HiRes.pod |
=pod =head1 NAME DateTime::HiRes - Create DateTime objects with sub-second current time resolution =head1 SYNOPSIS use DateTime::HiRes; my $dt = DateTime::HiRes->now; =head1 DESCRIPTION This module enables you to generate DateTime objects that represent the current time with sub-second resolution. =head1 METHODS =over 4 =item * now( ... ) Similar to C<DateTime-E<gt>now> but uses C<Time::HiRes::time()> instead of Perl's C<CORE::time()> to determine the current time. The returned object will have fractional second information stored as nanoseconds. The sub-second precision of C<Time::HiRes> is highly system dependent and will vary from one platform to the next. Just like C<DateTime-E<gt>now> it accepts "time_zone" and "locale" parameters. =back =head1 CREDITS Everyone at the DateTime C<Asylum>. =head1 SUPPORT Support for this module is provided via the datetime@perl.org email list. See http://lists.perl.org/ for more details. =head1 AUTHOR Joshua Hoblitt <jhoblitt@cpan.org> =head1 COPYRIGHT Copyright (c) 2003 Joshua Hoblitt. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of the license can be found in the LICENSE file included with this module. =head1 SEE ALSO datetime@perl.org mailing list http://datetime.perl.org/ L<DateTime>, L<Time::HiRes> =cut