Hi Code Masters,
I have a function to calculate current date as
How do I calculate two months after today's date?
Many thanks.
I have a function to calculate current date as
Code:
sub currentDate { my @timeParts=localtime; my ($day, $month, $year) = ($timeParts[3],$timeParts[4],$timeParts[5]); return ($month+1)."/".$day."/".($year+1900); }
Many thanks.
Comment