RECENT POSTS

P5-timedate

May 26, 2018

Perl5 module containing a better/faster date parser for absolute dates

The TimeDate distribution replaces earlier GetDate distribution, which was only a date parser. The date parser contained in this distribution is far superior to the yacc based parser, and a lot faster.

The parser contained here will only parse absolute dates, if you want a date parser that can parse relative dates then take a look at the Time modules by David Muir on CPAN.

The file Local.pm.new which is included in this distribution is a patched version of TimeLocal which comes with perl. It fixes two problems

- It determines the zone offset based on now rather than epoch
- It fixes a problem with looping forever when a year > 1900 is passed in

WWW http//search.cpan.org/dist/TimeDate/