On Thu, 2 Dec 2004 13:02:16 GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Ron Hill wrote:
>> Actually I run the reports on the first of the month for the previous
>> month so I had to do this
>> my $month = DateTime->today->truncate(to => 'month')->subtract(months=>1);
> [...]
> This one behaves better - it doesn't change $month value:
> 
>   my $this_month =
>       DateTime->today->truncate(to => 'month');

I think you both might have forgotten to include time zone information...

-John


Reply via email to