j'ai aussi un soucis avec SimpleDateFormat,
j'ai ceci comme string : "Thu Sep 28 12:11:51 CEST 2006"
hors j'ai bien lu et relu ce que vous avez dit sur d'autre topic, et malgré tous mes essais, cela ne correspond toujours pas.
voici mes essais (j'en ai surement oublié mais je veux pas polluer)
SimpleDateFormat strFormatFull = new SimpleDateFormat("EEE MMM d HH:mm:ss z yyyy", Locale.US);
SimpleDateFormat strFormatFull = new SimpleDateFormat("EEE MMM d HH:mm:ss z yyyy");
SimpleDateFormat strFormatFull = new SimpleDateFormat("EEE MMM d HH:mm:ss zzz yyyy");
mon parse :
ddatedecreation = (java.util.Date)strFormatFull.parse(datedecreation);
merci d'avance...
Partager