• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Date Format

 
Saathvik Reddy
Ranch Hand
Posts: 228
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a String with pattern MM/dd/yyyy. How do i convert it to string of format 01-May-2004.

Thanks in advance.
 
Nik Arora
Ranch Hand
Posts: 652
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Refer to this Link




Regards
Nik
SCJP 1.5
 
Saathvik Reddy
Ranch Hand
Posts: 228
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey nik,

That worked. Thanks a lot.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic