[ic] Number of days between dates

Davor Ocelic docelic at spinlocksolutions.com
Wed Nov 28 17:54:37 EST 2007

On Wed, Nov 28, 2007 at 02:34:12PM -0800, Grant wrote:
> What do you guys use to determine the time between two dates?  > and <
> are great for comparing dates formatted like 20071121 and 20071128 to
> determine their chronological order, but is there a function that can
> be used within IC to determine how many days lie between those dates?


There are two Perl modules, Date::Manip and Class:Date, available
from CPAN.

Date::Manip is more popular, but both modules can do arithmetic
on dates. Date::Manip does it with DateCalc function.


More information about the interchange-users mailing list