DateTime::Format::Natural::Lang::EN - English language metadata
DateTime::Format::Natural::Lang::EN provides the english specific regular expressions and variables. This class is loaded if the user either specifies the english language or implicitly.
DateTime::Format::Natural::Lang::EN
Below are some examples of human readable date/time input in english (be aware that the parser doesn't differentiate between lower/upper case):
5am 4pm thursday november friday 13:00 mon 2:35 6 in the morning sat 7 in the evening yesterday today tomorrow this tuesday next month next mai this morning this second yesterday at 4:00 last january last friday at 20:00 last week tuesday tomorrow at 6:45pm afternoon yesterday thursday last week
25 seconds ago 10 minutes ago 7 hours ago 40 days ago 2 weeks ago 5 months ago 3 years ago 7 days before now 7 days from now 4 weeks before now 4 weeks from now 13 months before now 13 months from now 2 years before now 2 years from now in 3 hours 1 year ago tomorrow 3 months ago saturday at 5:00pm 4th day last week 3rd wednesday in november 3rd month next year 7 hours before tomorrow at noon
Monday to Friday 1 April to 31 August
January 11 11 January dec 25 may 27th October 2006 february 14, 2004 Friday jan 3 2010 3 jan 2000 27/5/1979 4:00 17:00
DateTime::Format::Natural, DateTime, Date::Calc, http://datetime.perl.org
Steven Schubiger <schubiger@cpan.org>
This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html
To install DateTime::Format::Natural, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DateTime::Format::Natural
CPAN shell
perl -MCPAN -e shell install DateTime::Format::Natural
For more information on module installation, please visit the detailed CPAN module installation guide.