Microsoft
Software
Hardware
Network
Question : Localized Date format
we need to display date in spanish local, for that we are using below code, but the requirment is month of first character has to come in Capital, please don't suggest explicitly convert of first character of string.
SimpleDateFormat formater = new SimpleDateFormat("dd MMMM yyyy", new Locale("es"));
TimeZone tz = TimeZone.getTimeZone("Euro
pe/Paris")
;
formater.setTimeZone(tz);
System.out.println("Date = "+formater.format(new Date()));
Out put
Date = 27
mayo
2010
Answer : Localized Date format
This is the default format for that locale. If you need your own format, look into
http://java.sun.com/javase
/6/docs/ap
i/java/tex
t/spi/
Date
FormatSymb
olsProvide
r.html
Random Solutions
Vista Black Screen with Cursor after login - Explorer process is running
What does \e mean in a regular expressions?
REAL WORLF FRAME RELAY BASIC SETUP
Access 2007 get first record
Excel 2007 VBA Intellisense not working
Specify a Menu Bar at Startup Based on User
Folders Hidden windows xp
Windows Server 2003 OEM to Volume license
Large Data file, Excel alternative
asp.net I want to limit the number of images a user can enter and display the counter 1 to 6 to the user and to inbibit the upload button on a count of 6