Dynamic Excel File Names

Is there a way during automation to dynamically rename your export file to include a date range? (e.g., last week - 20090816-20090822, last month - 20090701-20090731)