Hi,

I have to show russian dates on screens, so I use the following code :

<%@ page import="java.util.GregorianCalendar"%>
<%@ page import="java.text.SimpleDateFormat"%>

<%
        SimpleDateFormat sdf = new SimpleDateFormat ("d-MMM-yyyy", new
Locale("ru",""));
        Calendar g = new GregorianCalendar(2000, 11, 14);
%>
<%=sdf.format(g.getTime())%>

and the result is :
14-???-2000

Does anyone have en explication and a solution to the problem ?

Thanks
Ludovic BERTIN

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to