hi
i created a html form in which i took a date as input now how can i determine the day(sunday or monday etc) on that particular date .

Parse the String to a Date using SimpleDateFormat, initiate a Calendar with that date, then use the get(int) method of the Calendar.

See the API docs for SimpleDateFormat and Calendar/GregorianCalendar.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.