How do I format date using a locale based format?
Category: java.text, viewed: 6575 time(s).
The code below demonstrate how to format date information for a specific Locale. In the example utilize the java.text.SimpleDateFormat class.
The result of our code are:
Date format in Japanese (Japan) = 2009/01/04 Date format in Chinese (China) = 2009年1月4日 Date format in Korean (South Korea) = 2009년 1월 4일 (일) Date format in Chinese (Taiwan) = 2009年1月4日 Date format in Italian (Italy) = 4 GENNAIO 2009 Date format in French (France) = 4 JANVIER 2009 Date format in German = 4. JANUAR 2009
Can't find what you are looking for? Join our FORUMS and ask some questions!
Download Hundreds of Complimentary Industry Resources
Get hundreds of popular Industry magazines, white papers, webinars, podcasts, and more;
all available at no cost to you. With more than 600 complimentary offers, you'll find
plenty of titles to suit your professional interests and needs.
Click Here and Sign up today!
