More Info
1 min

Perl code for date and time processing

http://search.cpan.org/~drolsky/DateTime-Locale-0.45/lib/DateTime/Locale.pm

RSS file: <pubDate>Thu, 27 Jun 2013 01:50:46 GMT</pubDate>

ISO 8601: 2013-07-04T21:38:07Z

ISO 8601: YYYY-MM-DDThh:mm:ss

database date format: 2013-07-30 15:23:39

[x] http://perldoc.perl.org/Time/Piece.html

http://search.cpan.org/~drolsky/DateTime-Format-Strptime-1.54/lib/DateTime/Format/Strptime.pm

[x] http://search.cpan.org/~miko/Date-EzDate-1.12/lib/Date/EzDate.pm

http://search.cpan.org/~dlux/Class-Date-1.1.10/Date.pod

[x] http://search.cpan.org/~izut/Date-Simple-3.03/lib/Date/Simple.pm

[xx] http://search.cpan.org/~stevan/Date-Formatter-0.09/lib/Date/Formatter.pm

[xx] http://search.cpan.org/~drolsky/DateTime-1.03/lib/DateTime.pm

[x] http://search.cpan.org/~adamk/Date-Tiny-1.04/lib/Date/Tiny.pm

http://search.cpan.org/~sbeck/Date-Manip-6.40/lib/Date/Manip.pod

More Info

From the author of the Date::Formatter module

For serious date/time involved work, skip my module and go straight to the DateTime project at http://datetime.perl.org. Don't even waste your time with anything else.

Also here is a good article on the state of Perl's date-time world. It is a glimpse into the chaos - http://www.perl.com/pub/a/2003/03/13/datetime.html.

Below is a list of other Date/Time modules I have looked over in the past, and my opinions regarding the differences between them and my module here.

Class::Date
This module seems pretty nice, I have never used it. It is much more ambitious than my module, but in my opinion provides inferior formatting capabilties.

Date::Simple
If you have to manipulate just dates (it doesnt handle time), then this is a pretty good module. It provides an XS as well as a Pure Perl version.

Time::Format
This module is available as both an XS or a Pure perl version. It provides a funky global hash which can be used to easily format a UNIX time value. It does seem quite extensive, and is a nice way of going about this. But it is not OO at all, which is much of where it differs from my module.

Date::Format
A pretty nice formatting module, but purely functional in style. Not that thatis bad, just that its not the same as our OO version.

Time::Object
Time::localtime
Are both wrappers/helpers/extensions around the localtime and gmttime functions.

#perl
#programming

From JR's : articles
275 words - 2309 chars - 1 min read
created on
updated on
import date 2013-08-12 21:50:46 - #
source - versions

Related articles
Rest and Json links to keep around - Oct 10, 2013
Using Perl and Erlang - Jan 19, 2015
Perl Dancer Framework - Dec 19, 2013
Perl HTML parsing modules - Oct 01, 2013
Perl code for string processing - Jul 06, 2013
more >>



A     A     A     A     A

© 2013-2017 JotHut - Online notebook

current date: May 1, 2024 - 6:27 p.m. EDT