Yup, the system date is correct, as a trace on the 'now' Date object shows the correct information, but the individual properties for month and day of the now Date object (now.month and now.day) are showing '7' and '1' respectively.

I'm sure I'm not seeing something obvious...

Jurgen



candysmate wrote:

--- In [email protected] <mailto:flexcoders%40yahoogroups.com>, Jurgen Beck <[EMAIL PROTECTED]> wrote:
>
> I am tracking down the source of an issue with the Date() class.
>
> It seems that the following line should be producing today's date:
>
> var now:Date = new Date();
>
> However, when running this today (8/27/2007), the resulting date object
> contains values for 7/1/2007.
>
> Has anyone run into this issue? Is this a bug?
>
> Thanks,
>
> Jurgen
>

At the risk of asking an obvious question, I assume that you have
ensured that your current system date is set correctly?

Reply via email to