Being very dense about this but I cant capture the Date output to a scalar - 
the output is: 20 days ago, it was 020214

I want the 020214 in a variable.

Thanks,
PK

        ************************************************************
#!c:/perl/perl.exe 

use Strict;
use Date::Calc qw( Add_Delta_Days Today );

($year, $month, $day) = Add_Delta_Days (Today, -20);

 printf "20 days ago, it was %02d%02d%d\n", $year % 100, $month, $day;


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

Reply via email to