Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
DateTime::HiRes(3)    User Contributed Perl Documentation   DateTime::HiRes(3)

NAME
       DateTime::HiRes - Create	DateTime objects with sub-second current time
       resolution

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
       o   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.	 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.

CREDITS
       Everyone	at the DateTime	"Asylum".

SUPPORT
       Support for this	module is provided via the datetime@perl.org email
       list. See http://lists.perl.org/	for more details.

AUTHOR
       Joshua Hoblitt <jhoblitt@cpan.org>

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.

SEE ALSO
       datetime@perl.org mailing list

       http://datetime.perl.org/

       DateTime, Time::HiRes

perl v5.24.1			  2017-07-02		    DateTime::HiRes(3)

NAME | SYNOPSIS | DESCRIPTION | METHODS | CREDITS | SUPPORT | AUTHOR | COPYRIGHT | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=DateTime::HiRes&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help