in reply to where does the time go?

No one really seriously talked about Date::Manip, one of my favorite modules. It sometimes gets a bad rap since it isn't the fastest module, but speed won't be critical for what you are doing.

The following should be adaptable to what you need.

#!perl use strict; use warnings; use Date::Manip; local $\ = "\n"; Date_Init('TZ=US/Mountain'); my $month = UnixDate('last month', '%B'); my @dates = ParseRecur("every day in $month"); print UnixDate($_, '%D') for @dates;