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
Routing for Web Servers/Internal Network
SUMIF Formula that looks for cells that have the same first seven characters
What is the best way to have a website accessible to iPhones?
Changing Background colors for a column based on contents of cell
Replace HDD Western Digital Scorpio in Fujitsu Amilo Pi 2550
Windows 2008 Server retail box license
lenovo x201 tablet digitaltizer calbration
Earliest Date of Balance Change for Multiple ID's
Subnets
Is it normal to get Java errors during Oracle 11g installation