I have separated Year, Month and Day so I can feed into the Date_to_Text
function from Calc.

$firstdate = $dates[1];
$firstdate =~m/(\d*)-0?(\d*)-0?(\d*)/g;
my $year = $1;
my $month = $2;
my $day = $3;

If I print $firstdate it correctly prints 2001-07-16 00:00:00
However
my $firstcalc = Date_to_Text($year,$month,$day);
reports an error
Date::Calc::Date_To_Text not a valid date.

I'm sorry if this sounds confusing but I am confused
Help appreciated
CCJ



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to