All,
using the following code under W2K Activestate v5.6.1 (629), I get the
date output as : 20 days ago, it was 20020118
I would like to drop the leading '20' in 2002 so it would read: 20 days ago, it
was 020118. I know I could just rip it out but I would like to know how to
return the date from the module in 2 digit year format.
Thanks in advance,
Patrick
**************************
use Date::Calc qw( :all );
($year, $month, $day) = Add_Delta_Days (Today, -20);
printf "20 days ago, it was %02d%02d%d\n", $year, $month, $day;
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]