Hi i am trying to get the day name from a date, the date will come from another page in a format (DD,MM,YYYY)
and then the code will get the name of the day from this date.
I tried:
<%@ page import="java.io.*,java.util.*" %>
<%@ page import="javax.servlet.*,java.text.*" %>
<%
this line >> Date date = new Date(request.getParameter("DATE"));
SimpleDateFormat ft = new SimpleDateFormat ("E");
out.print( "<h2 align=\"left\">" +ft.format(date) +"</h2>");
%>