[flexcoders] Date Bug??

2008-03-31 Thread jmfillman
When I run the code below, I get a date of May 1st, 2008. What am I missing here? Shouldn't this give me March 31st, 2008. ?xml version=1.0? !-- Simple example to demonstrate NumberFormatter. -- mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; creationComplete=initDate() mx:Script

Re: [flexcoders] Date Bug??

2008-03-31 Thread Douglas Knudsen
Date.month is zero-based. :) DK On Mon, Mar 31, 2008 at 12:57 PM, jmfillman [EMAIL PROTECTED] wrote: When I run the code below, I get a date of May 1st, 2008. What am I missing here? Shouldn't this give me March 31st, 2008. ?xml version=1.0? !-- Simple example to demonstrate

RE: [flexcoders] Date Bug??

2008-03-31 Thread Alex Harui
For some strange reason, month is zero-based. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jmfillman Sent: Monday, March 31, 2008 9:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Date Bug?? When I run the code below

[flexcoders] Date Bug?

2006-11-01 Thread Battershall, Jeff
Some interesting behavior turned up by populating a combox box with some dates pulled from a CFQUERY-driven dataprovider and passing the selected date back via post to a CF page. Certain users would consistently get the date back one day earlier than was intended. Has anyone seen anything like