cancel
Showing results for 
Search instead for 
Did you mean: 

Capture Date

Former Member
0 Kudos

hi all,

I want to display the date as

<b>Wednesday, August 23, 2006</b> format. How to get in this format?

Thanks in advance,

Gopi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Gopi,


SimpleDateFormat fmt = new SimpleDateFormat("EEEE, MMMM dd, yyyy");
System.out.println( fmt.format(new Date()) );

Valery Silaev

EPAM Systems

http://www.NetWeaverTeam.com

Former Member
0 Kudos

Gopi,

If you whant to force this format for attributes of type "date", then

- create own Simple Type in Local Dictionary based on "date" type;

- set format for this type to <b>EEEE, MMMM dd, yyyy</b>;

- change type of your attributes to this newly created type.

Valery Silaev

EPAM Systems

http://www.NetWeaverTeam.com

Answers (2)

Answers (2)

Former Member
0 Kudos

Due to 10 questions limit

Former Member
0 Kudos

Hi,

You can us a date formatter:

Format formatter = new SimpleDateFormat("EEEE, MMMM d, yyyy");

formatter.format(date);

Good luck!

Roelof