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
3 Monitors: 2 VGA, 1 DVI
how to add 2 minutes to timestamp in Oracle
Copy & paste document in a view
Transaction problem
Hide/show button depending of if textbox has text or not with jQuery?
Insert Statement using values and select subquery
Need assistance with MYSQL PHP output query
Powershell script to export info from AD
C++ Speed Versus Java
What is the impact of recreating an OU certifier on current users?