* Eugene van der Pijll <[EMAIL PROTECTED]> shaped the electrons to say...
> TIMTOWTDI:
>
> my $dt2 = DateTime->new( month => $month, year => 2002)
> ->add( months => 1 )
> ->truncate( to => 'month' )
> ->subtract( seconds => 1 );
>
> my $dt3 = DateTime->last_day_of_month( month => $month, year => 2002)
> ->add( days => 1, seconds => -1 );
Which yield
2002-12-01 00:00:-01
2003-01-01 00:00:-01
respectivly. Not quite correct.
-D
--
It's the wrong trousers Gromit, and they've gone wrong!
