how to print the day of the week

Hi, How to print the day of the week for the particular dateRegards,Ahamad
[102 byte] By [ahamad15a] at [2007-11-26 15:30:00]
# 1
On a postcard?Check the Calendar API
PhHeina at 2007-7-8 21:46:30 > top of Java-index,Java Essentials,Java Programming...
# 2
And SimpleDateFormat created with pattern string "E"... http://java.sun.com/j2se/1.5.0/docs/api/index.html
Peetzorea at 2007-7-8 21:46:30 > top of Java-index,Java Essentials,Java Programming...
# 3
Or java.util.Formatter (or a variation thereof), to wit:System.out.printf("%tA\n", new java.util.Date());~
yawmarka at 2007-7-8 21:46:31 > top of Java-index,Java Essentials,Java Programming...
# 4
Or the JSTL <fmt:formatDate> tag... Or, or, or...:o)~
yawmarka at 2007-7-8 21:46:31 > top of Java-index,Java Essentials,Java Programming...
# 5
> Or the JSTL <fmt:formatDate> tag... > > Or, or, or...What about getting an instance of java.util.Calendar, invoking toString(), and then parsing the resultant string to find the day of the week? ;-)
filestreama at 2007-7-8 21:46:31 > top of Java-index,Java Essentials,Java Programming...