Hie

I am trying to convert GAE date format to simple dd-mmm-yyyy using the below
code


SimpleDateFormat formatter = new SimpleDateFormat("EEE MMM dd hh:mm:ss z
yyyy");

try
{
Date joined = formatter.parse(subscriber.getJoinDate().toString());
formatter = new SimpleDateFormat("dd-mm-yyyy");
vRow.addElement(formatter.format(joined));
} catch (ParseException e)
{
e.printStackTrace();
}


But it is not working properly. It shows me some dates like 26-35-2009

Can anyone please help to fix it

Thankx and Regards

Vik
Founder
www.sakshum.com
www.sakshum.blogspot.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to