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

FreeBSD Manual Pages

  
 
  

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

NAME
       Rose::DateTime -	DateTime helper	functions and objects.

SYNOPSIS
	   use Rose::DateTime::Util qw(:all);

	   $now	 = parse_date('now');
	   $then = parse_date('12/25/2001 6pm');

	   $date_text =	format_date($then, "%D at %T %p");

	   ...

	   use Rose::DateTime::Parser;

	   $parser = Rose::DateTime::Parser->new(time_zone => 'UTC');

	   $date = $parser->parse_date('12/25/1999');

DESCRIPTION
       The "Rose::DateTime::*" modules provide a few convenience functions and
       objects for use with "DateTime" dates.

       Rose::DateTime::Util contains a simple date parser and a	slightly
       customized date formatter.

       Rose::DateTime::Parser encapsulates a date parser with an associated
       default time zone.

       This module ("Rose::DateTime") exists mostly to provide a version
       number for CPAN.	 See the individual modules for	some actual
       documentation.

SEE ALSO
       DateTime, DateTime::TimeZone

AUTHOR
       John C. Siracusa	(siracusa@gmail.com)

LICENSE
       Copyright (c) 2010 by John C. Siracusa.	All rights reserved.  This
       program is free software; you can redistribute it and/or	modify it
       under the same terms as Perl itself.

perl v5.32.1			  2013-12-08		     Rose::DateTime(3)

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO | AUTHOR | LICENSE

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

home | help