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
creating a local user
How do I create a 'change' event for a VB6 listbox control?
Installing other OS (ESXi) on HP StorageWorks X1000
Trying to delete Txt between tags in Notepad++
Using Calendar Control 11.0 in Access 2003 on a Tab Control on a Form
SQL Dates
Mobile Web Browsing
Validate multiple radiobuttonlist validation with error message each group
VirtualBox - WindowsXP 64-bit - Inaccessible
certificatge errors in windows 7 ie8