A
amerar
Hi All,
I need to write some Perl code where I take the current day, subtract 3
from it, and get the proper day of the month.
So, if today is June 15th, then 15-3 would give me June 12th.
But if today is July 1st, then 1-3 'should' give me June 28th.
And then there are leap years......
Is there any code to do this? I'm not sure how to write something like
this......
Thanks,
Arthur
I need to write some Perl code where I take the current day, subtract 3
from it, and get the proper day of the month.
So, if today is June 15th, then 15-3 would give me June 12th.
But if today is July 1st, then 1-3 'should' give me June 28th.
And then there are leap years......
Is there any code to do this? I'm not sure how to write something like
this......
Thanks,
Arthur