Colin wrote: > > Just require a memory nudge again. I'm looking for a small script to count > the number of days between two dates. Date format is dd/mm/yyyy
Hi Colin. A British date? There's controversy for you :) use Date::Simple. But you'll have to change the format to an ISO date - yyyy-mm-dd - or do this: use strict; use warnings; use Date::Simple; my $date = '06/10/1994'; my $d1 = Date::Simple->new(reverse split /\//, $date); my $d2 = Date::Simple->new; # today print $d2 - $d1; OUTPUT 3233.95960648148 HTH, Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]