Thanks, Graham.
As always, it helps reading the documentation carefully. :-)
I didn't see the zero-based mention of the properties...
Cheers,
Jurgen
candysmate wrote:
--- In [email protected]
<mailto:flexcoders%40yahoogroups.com>, Jurgen Beck <[EMAIL PROTECTED]> wrote:
>
> 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
>
>
I think you're looking for the date of the month. The day is the
number given to the day of the week with Sunday being day 0, Monday
day 1 etc.
The month is also a zero based index with January being month 0, so
this month (August) is 7, which is correct.
best, Graham