Hi,
Please share your code snippet.
Following works fine:
SimpleDateFormat formatter = new SimpleDateFormat("MM/dd E");
Date currentTime_1 = new Date();
String dateString = formatter.format(currentTime_1);
Log.d(TAG, dateString);
---> this prints <---
08/05 Thu
Regards
Sarwar Erfan
On Aug 5, 4:53 pm, Jags <[email protected]> wrote:
> i am trying to do
>
> Format formatter = new SimpleDateFormat("MM/dd E");
>
> like i wanna display 08/05 T {month/day dayofweek}
>
> but only 08/05 is displayed. Day is not displayed.
>
> how to do that ?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" 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/android-developers?hl=en