in reply to Re^3: Prior Date
in thread Prior Date

I still think Date::Manip is more what you want... for example:
use Date::Manip; $date1 = ParseDate("20071001"); $date2 = ParseDate("20070926"); print DateCalc($date1,"- 3 business days"),"\n"; print DateCalc($date1,$date2,\$err),"\n"; # regular mode... 5 days print DateCalc($date1,$date2,\$err,2),"\n"; #business mode... 3 days

                - Ant
                - Some of my best work - (1 2 3)

Replies are listed 'Best First'.
Re^5: Prior Date
by Anonymous Monk on Oct 04, 2007 at 12:23 UTC
    Hi, tried your code here getting this:
    Software error: ERROR: Date::Manip unable to determine Time Zone. at C:/Perl/site/lib/Date/Manip.pm line 3645 Date::Manip::Date_TimeZone called at C:/Perl/site/lib/Date/Manip.p +m line 684 Date::Manip::Date_Init() called at C:/Perl/site/lib/Date/Manip.pm +line 1454