Hi Dave & Josh,

"Dave Rolsky" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Wed, 17 Sep 2003, Hill, Ronald wrote:
>
[snipped]

>
> Josh is confused because you're passing arguments to the day_of_week
> method.  These arguments are completely ignored by DateTime.pm!
>
>
> -dave
Ok, I see I can just do
my $dow = $dt2->day_of_week(
          year  => $dt->year,
         );

and get what I want, which is the dow for jan 1
Hmn!!
But the questions is should I code like that. Doing  something like this
does not seem very intuitive.

Ron


Reply via email to