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
Using AJAX to render tabular data with nested tables
How does Java handle language translations?
ColdFusion and DOTNET
Exporting Applied Group Policies To User-Readable Format
Lenovo monitor driver for Machine types 4420-HB2 issue
exchange user with corrupted mailbox
Retrieve XMLAttribute in Coldfusion
Global Error Handler and On Error Resume Next
Is it safe to move Exchange log files to another drive directory?
Separate SSIS server for ETL Tasks