Am 30.03.12 09:05, schrieb Eyal Berman:
> i try to format a date from XML file the date is in the format  "Thu, 15
> Mar 2012 00:00:00 +0200"

try this:

/**
 * Thu, 04 Aug 2011 09:00:00 +0200
 */
protected static final SimpleDateFormat FORMATTER_StringToDate = new
SimpleDateFormat("E, dd MMMM yyyy HH:mm:ss Z", Locale.ENGLISH);


Ralph

-- 

Ralph Bergmann

iOS and Android app developer


www              http://www.the4thFloor.eu | http://www.dasralph.de

mail             ra...@the4thfloor.eu
skype            dasralph

xing             http://www.xing.com/profile/Ralph_Bergmann3
linkedin         http://www.linkedin.com/in/ralphbergmann
gulp             http://www.gulp.de/Profil/RalphBergmann.html

java user group  http://www.jug-bb.de | http://www.xing.com/net/jugbb
ios dev group    http://www.xing.com/net/iosberlin

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to