Hopefully this is straightforward for a Perl wizard. I'm sure the function is on the Web somewhere if I could find it. I need a Perl function that does this (in pseudocode):
return (today - numDays) as YYYYMMDD
If I need to include a module or anything, that's fine; just let me know.