Showing posts with label days. Show all posts
Showing posts with label days. Show all posts

Wednesday, September 30, 2009

Adobe Flex - Days duration between two Date Objects

duration_In_Days = ((today.getTime() - transactionDate.getTime())/(24*60*60*1000)).toFixed(0);