Adding date in Flex using Flex datepart
By using Datepart in flex we can increase or decrease the particular part of the date in flex , Gareth suggested a dateAdd method to do this date addition in simple steps, using datepart we can add or subtract particular part of the date easily.
By using datepart, adding 1 to datepart["date"] we get the next day date,datepart["week"] we get the next week date.
Source Code :
public static ...
Read more...