flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christofer Dutz <christofer.d...@c-ware.de>
Subject AW: Simple way to parse I18N dates?
Date Wed, 05 Feb 2014 20:36:48 GMT
Hmmm ... strangely the following expression allways returns null:

DateFormatter.parseDateString("20140227", "YYYYMMDD");

So what am I actually doing wrong?

Chris


-----Urspr√ľngliche Nachricht-----
Von: Harbs [mailto:harbs.lists@gmail.com] 
Gesendet: Montag, 3. Februar 2014 08:03
An: users@flex.apache.org
Betreff: Re: Simple way to parse I18N dates?

FWIW, it might make sense to deprecate the DateField.dateToString() method in favor of the
DateFormatter.parseDateString() one.

On Feb 3, 2014, at 8:20 AM, Harbs wrote:

> Thanks. That's much more robust. It might do what I need.
> 
> Harbs
> 
> On Feb 3, 2014, at 12:26 AM, Justin Mclean wrote:
> 
>> Hi,
>> 
>> You might want to look at parseDateString in DateFormatter.
>> 
>> Thanks,
>> Justin
> 


Mime
View raw message