java - Formatted date representation -


this question has answer here:

my date displayed in button in format

new simpledateformat("eeeeeeeeee mmmm dd yyyy") 

i.e.

wednesday 15 may 2013 

but want capitalised each starting element i.e.

wednesday 15 may 2013 

it'll give want, why not working @ end:

    date date = new date();     simpledateformat format = new simpledateformat("eeeeeeeeee dd mmmm yyyy") ;     system.out.println(format.format(date)); 

"wednesday 15 may 2013"


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -