1Rose::DateTime(3)     User Contributed Perl Documentation    Rose::DateTime(3)
2
3
4

NAME

6       Rose::DateTime - DateTime helper functions and objects.
7

SYNOPSIS

9           use Rose::DateTime::Util qw(:all);
10
11           $now  = parse_date('now');
12           $then = parse_date('12/25/2001 6pm');
13
14           $date_text = format_date($then, "%D at %T %p");
15
16           ...
17
18           use Rose::DateTime::Parser;
19
20           $parser = Rose::DateTime::Parser->new(time_zone => 'UTC');
21
22           $date = $parser->parse_date('12/25/1999');
23

DESCRIPTION

25       The "Rose::DateTime::*" modules provide a few convenience functions and
26       objects for use with "DateTime" dates.
27
28       Rose::DateTime::Util contains a simple date parser and a slightly
29       customized date formatter.
30
31       Rose::DateTime::Parser encapsulates a date parser with an associated
32       default time zone.
33
34       This module ("Rose::DateTime") exists mostly to provide a version
35       number for CPAN.  See the individual modules for some actual
36       documentation.
37

SEE ALSO

39       DateTime, DateTime::TimeZone
40

AUTHOR

42       John C. Siracusa (siracusa@gmail.com)
43

LICENSE

45       Copyright (c) 2010 by John C. Siracusa.  All rights reserved.  This
46       program is free software; you can redistribute it and/or modify it
47       under the same terms as Perl itself.
48
49
50
51perl v5.36.0                      2023-01-20                 Rose::DateTime(3)
Impressum