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
execute sql query inside each row of a gridview to return a total - C# ASP.NET
TranslateTransform and RotateTransform - Positioning correctly
Simple String to UTC format
How do I add sample data to my custom module table on install?
Populate table with dates stored as integers
Access 2007 RunSavedImportExport from macro
HOW TO APPLY QoS TO A FXS CARD
ASDM on ASA 5505 after change of inside interface IP
Windows 2003 server will not allow me to access shares since upgrade
call manager auto restart !