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
Syntax to use user defined criteria in update routine
I can't seem to add separators or other items to my bookmark folder in Firefox
Do Visual Basic require a license ?
How do I find out what version of AjaxControlToolkit is installed on my server?
Show all the table row data linked to the result of a query selection in the mainform
Can I create a timeline using HTML? ASP.NET? Word?
Oracle SQL GROUP BY
Install powershell via batch file
Exchange Server 2007 SP1 upgrade to SP3
Looking for detailed comparisons/recommendation
s as to whether corporations should upgrade from Excel 2003 to Excel 2010 versus 2007