Hmm... I'm not sure if me pulling suggestions out of thin air is at all helpful, but have you tried labelFunction and parseFunction? I don't see why the default wouldn't work, but if there's a problem, you could use these two to hack up a fix for your specific format (assuming you have a specific format, and are not trying to parse dates with arbitrary format strings).
-----Original Message----- From: simonjpalmer <[EMAIL PROTECTED]> Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How do I set and get the date of a DateField? Date: Fri, 11 Jan 2008 21:56:40 -0000 thanks! that seems to work as long as I have dd/mm/yyyy or mm/dd/yyyy as the formatString, otherwise it fails to parse and I seem to get a zero date. --- In flexcoders@yahoogroups.com, Maciek Sakrejda <[EMAIL PROTECTED]> wrote: > > DateField.selectedDate? > > > -----Original Message----- > From: simonjpalmer <[EMAIL PROTECTED]> > Reply-To: flexcoders@yahoogroups.com > To: flexcoders@yahoogroups.com > Subject: [flexcoders] How do I set and get the date of a DateField? > Date: Fri, 11 Jan 2008 21:28:32 -0000 > > not normally stumped, but I can't figure out how to set the value of a > DateField from a Date and then do the reverse and get a Date object > from the DateField. I was expecting to have accessors which took Date > objects, but there aren't any. > > Do I have to do the whole thing via formatted text? >