Copying a folder structure via User Command?

It is a month-name, but usually of the previous month. Is there any way to obtain the previous month code using the date function?