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
Error: Find criteria must contain at least one sort field value. DataGridColum
How do I check to see if my exchange 2003 is an open relay? (not using a open relay tester tool online, but on the console)
How to show/hide the Acrobat ribbon tab programatically in MS Access 2007.
need your help to list down the srvices of Bluecoat proxy
no video no beeps
exit a job in sql server 2008 r2
Window Server 2003
Using one keyboard and mouse with two computers at the same time
update randomly mysql
Count in a Query