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
Some differences between SQL Server 2005 and SQL Server 2008?
Parallels 5 Mouse Issue
Date Extraction (Custom)
Outlook 2007 Send/receive takes long time to precess and stay 98%
Entourage Client on Snow Leopard connecting to Exchange.
creating pdf with java
Module to load Webpage in Access Macro?
Mail Server Spamming
Coldfusion SQL how can i get the last bit field type with value 1 in the current row
HTML Textarea align cursor at left