wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Date to be returned as a locale specific string Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Date to be returned as a locale specific string" Watch "Date to be returned as a locale specific string" New topic
Author

Date to be returned as a locale specific string

vijay kumarg
Ranch Hand

Joined: Dec 14, 2006
Posts: 105
How to generate a java.util.Date as a Locale specific string?
John Bartlett
Ranch Hand

Joined: Jan 25, 2006
Posts: 116
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Date to be returned as a locale specific string
 
Similar Threads
resource bundle
fmt:formatDate with an "en" locale formats like "en_US"
how to retrieve unicode data from mysql
ResourceBundle
Calender & Holidays