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
The time on my Cisco Call Manager Express Router is wrong.
TS RemoteApp (Outlook 2007) traffic usage
Converting DTSs to SSIS
Number of manual page breaks per section
Windows XP Pro Users cannot use Log off or Shut Down button
Get Date Diffrence in Hours & Minutes in C#
call code behind method from javascript
Remove ListItem from RadioButtonList inside a GridView
How do I get a number format in Excel 2007 that accepts a "0" at the beginning of the number string?
Office SharePoint Server - The SSP Timer Job Distribution List Import Job was not run (error 6641).