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
Create a new document from sections of a templated document
Installing Windows Deployment Services on MS Small Business Server
How to configure the CRM 4.0 email router with exchange 2003
Linksys router how to log a mac ID traffic
Run mailmerge on command button from access 2007
Images not shown up in div id
DIV issues in IE
Should I create a dynamic disk or not?
creating a session array for simple cart
How do I edit a links list styles?