because January is month 0.

Nancy Gill
Adobe Community Expert
Author:  Dreamweaver 8 e-book for the DMX Zone
Co-Author:  Dreamweaver MX: Instant Troubleshooter (August, 2003)
Technical Editor:  Dreamweaver CS3: The Missing Manual, 
 DMX 2004: The Complete Reference,  DMX 2004: A Beginner's Guide 
 Mastering Macromedia Contribute
Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP Web Development

  ----- Original Message ----- 
  From: hugocorept 
  To: [email protected] 
  Sent: Monday, October 01, 2007 5:50 AM
  Subject: [flexcoders] Dates and Months Problem


  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



   


------------------------------------------------------------------------------


  No virus found in this incoming message.
  Checked by AVG Free Edition. 
  Version: 7.5.488 / Virus Database: 269.13.35/1040 - Release Date: 9/30/2007 
9:01 PM

Reply via email to