Re: [flexcoders] Simple Date Stuff

2006-08-11 Thread Tom Chiverton
On Thursday 10 August 2006 21:14, Gordon Smith wrote: > ActionScript has the same date and time functions as > JavaScript/ECMAScript as far as I know. We're just trying to follow > standards when that makes sense and not reinvent everything. Yeah, one of the problems with JavaScript is it doesn't

RE: [flexcoders] Simple Date Stuff

2006-08-11 Thread Vishwajit Girdhari
@yahoogroups.comSubject: Re: [flexcoders] Simple Date Stuff Gordon Smith wrote:> If we decide to add more functionality in this area, which language's> date and functions do you like better?java or coldfusion. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group

Re: [flexcoders] Simple Date Stuff

2006-08-10 Thread Paul Hastings
Gordon Smith wrote: > If we decide to add more functionality in this area, which language's > date and functions do you like better? java or coldfusion. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/f

RE: [flexcoders] Simple Date Stuff

2006-08-10 Thread Gordon Smith
functionality in this area, which language's date and functions do you like better? - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Thursday, August 10, 2006 6:26 AM To: flexcoders@yahoogroups.com Subject: Re: [

Re: [flexcoders] Simple Date Stuff

2006-08-10 Thread Tom Chiverton
On Wednesday 09 August 2006 18:06, Jeff Tapper wrote: > private var date2:Date = new > Date(date1.getFullYear(),date1.getMonth(),date1.getDate()-30); today:Date=new Date(); millsPerDay:Number= 1000 * 60 * 60 * 24; 30daysago:Date=new Date( today.getTime()-30*millsPerDay );

Re: [flexcoders] Simple Date Stuff

2006-08-09 Thread Jeff Tapper
how about this: http://www.adobe.com/2006/mxml"; layout="horizontal"> At 12:55 PM 8/9/2006, richmcgillicuddy wrote: >With the DateField MXML component, how would I initialize the dates of >2 date components to today and 30 days ago. >

[flexcoders] Simple Date Stuff

2006-08-09 Thread richmcgillicuddy
With the DateField MXML component, how would I initialize the dates of 2 date components to today and 30 days ago. I've tried the following: var aDate :Date = new Date(); var aSecondDate : Date = new Date(); // Does not work below //aSecondDate -= 30; // Does not compile below dtStartDate.selecte