Ah... I should probably read the entire thread sometimes, rather than just jumping in the middle! :-)

Peter


On 3/4/06, Gordon Smith <[EMAIL PROTECTED]> wrote:

Yes, but that's not what the code I commented on was doing. It was doing

 

    new Date("2006", "03", "22");

 

I was simply trying to point out that it would be more efficient to do

 

    new Date(2006, 3, 22);

 

rather than having "2006" coerce to 2006, "03" coerce to 3, and "22" coerce to 22.

 

- Gordon

 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to