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:[email protected]] 
Gesendet: Montag, 3. Februar 2014 08:03
An: [email protected]
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
> 

Reply via email to