flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From piotrz <piotrzarzyck...@gmail.com>
Subject Re: Determining Maximum Date from Array
Date Mon, 11 Apr 2016 19:05:46 GMT

Since in your ArrayCollection you have Date objects you can use "time" [1]
property to determine max date.

Simply use "Sort" function in ArrayCollection to sort dates descending using
"time" property as an sort field. Once you sort your collection - first
element in it will be your max date. :)



Apache Flex PMC
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Determining-Maximum-Date-from-Array-tp12434p12435.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

View raw message