Because Flex decided to be stupid like most programming languages and count from zero.
Which make for additional work and headache. I so miss ColdFusion's date/time handling. It was beautiful. It was the way date/time should be. Of course, I also like counting from 1 instead of zero. And yes, I understand memory arguments and advanced math arguments. But I believe such crud should be handled by the compiler and low level languages. You don't go and withdraw money from the bank and have a teller count $0, $1, $2, $3,...$9. There are your $10 sir! *shrug* Yup, when I encountered that I was so annoyed. I had really hoped some of the niceness of ColdFusion would rub off onto AS3. But alas, looks like we're going the other route. *sighs* - Jason --- In [email protected], "hugocorept" <[EMAIL PROTECTED]> wrote: > > Hello all, how you doing ^^ > > I want to get the month we are by number. > Can some one explain me why is flex saying the Month we are is 9 > (Setpember) day 1 ? > > > trace(dataHoje.toDateString()) > trace(dataHoje.month) > trace(dataHoje.monthUTC) > trace(dataHoje.day) > > Mon Oct 1 2007 > 9 > 9 > 1 > > > Thanks for all, > Core >

