[sf-perl] Perl's to_date() equivalent

David Fetter david at fetter.org
Fri Aug 25 09:56:34 PDT 2006

On Fri, Aug 25, 2006 at 09:49:59AM -0700, Loo, Peter # PHX wrote:
> Hello All,
> I was wondering if there is such a Perl module that I can use to
> calculate dates like the to_date() in Oracle.  For example:
> select (to_date('2006-03-05', 'YYYY-MM-DD') + 30) from dual;

Try Date::Manip from CPAN :)  It's not the fastest date munging
library there, but it's very flexible.

David Fetter <david at fetter.org> http://fetter.org/
phone: +1 415 235 3778        AIM: dfetter666
                              Skype: davidfetter

Remember to vote!

More information about the SanFrancisco-pm mailing list