A general tip for converting an entire array -
Use the array.map function, which gets a conversion function as input.

A typical mapping function would look something like this -

private function createViewItem(inputItem:InputType, index:int,
arr:Array):OutputType
{
return new OutputType(inputItem.constructorParam);
}

On Mon, Apr 11, 2016 at 11:29 PM, core000 <[email protected]> wrote:

> Thanks Piotrz for the quick response.    The date in the ArrayCollection is
> set to String format, not a Date format.   So the SORT function does not
> work.    Also some items in the ArrayCollection field might be NULL.
>
> Is there a way to convert all objects in an ArrayColelction (that comes via
> JSON form DB) to Date object?
>
> Thanks,
>
>
>
> --
> View this message in context:
> http://apache-flex-users.2333346.n4.nabble.com/Determining-Maximum-Date-from-Array-tp12434p12436.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>

Reply via email to