File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Date to be returned as a locale specific string

 
vijay kumarg
Ranch Hand
Posts: 105
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to generate a java.util.Date as a Locale specific string?
 
John Bartlett
Ranch Hand
Posts: 116
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Could you not use Calendar instead.

Then once the locale/timezone specific date is setup you could just use the getTime() method to pull back the Date Object.

John
[ December 15, 2006: Message edited by: John Bartlett ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic