aspose file tools
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Date to be returned as a locale specific string
 
Similar Threads
Calender & Holidays
resource bundle
ResourceBundle
fmt:formatDate with an "en" locale formats like "en_US"
how to retrieve unicode data from mysql