views:

35

answers:

1

hey guys i want to insert the word 'at' in the SimpleDateFormat so the date would be something like: Wed, 26 May 2010 at 11:17am i could able to make it without the at like: Wed, 26 May 2010 11:17am using

SimpleDateFormat formatter = new SimpleDateFormat("EEE, d MMM yyyy hh:mma");

so any ideas how to insert the word at to make it in the desired format?

A: 
SimpleDateFormat formatter = new SimpleDateFormat("EEE, d MMM yyyy 'at' hh:mma");

This will output Wed, 26 May 2010 at 11:17am

Undeph