NAME

Date::Step - A basic date iterator

SYNOPSIS

use Date::Step

my $step = Date::Step->new(); # new object $step->set_start('20051008'); # start date $step->set_end('20061008'); # end date $step->set_increment('1d12h'); # date increment length $step->set_format('%Y %B %e'); # format of returned date string

DESCRIPTION

Date::Step is a basic date iterator class.

Returned dates are done so using the convention set up by the Unix 'date' program:

B = January...December
b = Jan...Dec
d = Padded day of month; 01-{28,29,30,31}
e = zero padded day of month 1-{28,29,30,31}
h = Jan...Dec
k = padded hour of day; 00-23
l = zero padded hour of dayl 0-23
m = padded month; 01-12
Y = four digit year
y = two digit year; 00-99

AUTHOR

Brett D. Estrade - <estrabd AT mailcan DOT com>

TODO

Write some tests and more useful documentation.

CAVEATS

This module handles hours as the smallest division of time. If you wish to have a more fine grained capability, please let me know.

BUGS

Please send reports to me.

AVAILABILITY

ACKNOWLEDGEMENTS

Bug reports who supply patches get there name here :)

COPYRIGHT

This code is released under the same terms as Perl.