Thx. I'll definitely bookmark that for going the other way around. But 
I'm more interesting in something like:

var myDate1 = new ARobustDateObject("03/05/05");
var myDate2 = new ARobustDateObject("01/01/2005 15:42:32");
var myDate3:String = "06/25/1972";

var isDate3Older = ARobustDateObject.dateCompare(myDate3,myDate2)
var monthDifference = ARobustDateObject.dateDiff("m",myDate2,myDate1)

The Date object expects the parts of the date as individual parameters 
which is the part that requires extra work. This is kinda more along the 
lines of what I was looking for:

http://www.shockwave-india.com/blog/actionscript/?asfile=getDateFromString.as




JesterXL wrote:

>http://www.darronschall.com/weblog/archives/000040.cfm
>
>CF + AS2 = Yum Yum For You!
>
>----- Original Message ----- 
>From: "Tarik Ahmed" <[EMAIL PROTECTED]>
>To: <[email protected]>
>Sent: Thursday, May 12, 2005 6:35 PM
>Subject: [flexcoders] Wish List Item...
>
>
>    Uhmm... In CF you can display, compare, and format time in any way 
>imaginable with ease. I'm finding in ActionScript that dealing with 
>Dates is pretty cumbersome. I did some googling with no luck.. But I've 
>got to believe someone has made some kind of DateUtil class out there so 
>you can create dates from user defined formats ("mm/dd/yy", "dd/mm/yyyy 
>HH:mm", etc...).
>
>And in Flex 2.0.... it'd be nice to add a DateUtil class which copies 
>the code behind CF's DateFormat, DateDiff, and DateCompare functions. 
>Those are huge time savers.
>
>Thanks!
>
>
>
>
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>
>  
>





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to