README
1Regexp::Common::time v0.09
2==========================
3
4This is a Regexp::Common plugin that provides regular expressions for
5parsing dates and times. It can handle most date formats, such as:
6
7 y/m/d m/d/y d/m/y
8 2005/04/02 4/2/2005 2/4/05
9 05.04.02 04.02.05 02.04.2005
10 2005 April 2 April 2, 2005 2 APR 05
11 05APRIL02 APR022005 02 April 2005
12 20050402 040205 02042005
13
14 ISO 8601 RFC 2822
15 2008-05-24T21:46:01 25 May 2008 21:46:01 +0500
16
17
18It can also handle time formats like:
19
20 9:03:27pm
21 21:03:27
22 9:03 p.m.
23 21:03
24 9:03a
25
26Furthermore, you can easily piece together time and date component
27patterns (in the style of Time::Format or POSIX's strftime) to build
28arbitrarily complex custom regexes that can parse just about any time
29or date pattern imaginable.
30
31
32INSTALLATION
33
34To install this module type the following:
35
36 perl Makefile.PL
37 make
38 make test
39 make install
40
41On Windows, you will need to use nmake instead of make.
42
43
44DEPENDENCIES
45
46This module requires this other modules and libraries:
47
48 Regexp::Common
49 POSIX (optional)
50 I18N::Langinfo (optional, but needed for internationalization)
51
52Also, Time::Normalize is likely to be useful to you.
53
54
55COPYRIGHT AND LICENSE
56
57Eric J. Roode, roode @ cpan . org
58
59Copyright (c) 2005-2008 by Eric J. Roode. All Rights Reserved.
60This module is free software; See the copyright notice in the
61module source code for full details.
62
63To avoid my spam filter, please include "Perl", "module", or this
64module's name in the message's subject line, and/or GPG-sign your
65message.
66