I'm trying to convert a date to the day of week.
I know how to do this for the current date, but i'm trying to get the
"day" for the "user specified Date".
For eg. i want to get the name of the day for the date "04/13/2006"
Any ideas??
Thanks!
>I'm trying to convert a date to the day of week.
>I know how to do this for the current date, but i'm trying to get the
>"day" for the "user specified Date".
>For eg. i want to get the name of the day for the date "04/13/2006"
BigDate has a function to do it. See
http://mindprod.com/products1.html#COMMON11
IIRC Calendar does too. See http://mindprod.com/jgloss/calendar.html

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
Venkatesh - 19 Apr 2006 05:47 GMT
U can use Calendar
Calendar c = Calendar.getInstance();
c.setDate(<whatever date u want>)
c.get(Calendar.DAY_OF_WEEK)
-Venkatesh
Mavina - 20 Apr 2006 05:44 GMT
thanks!
> U can use Calendar
>
[quoted text clipped - 3 lines]
>
> -Venkatesh
Mavina - 20 Apr 2006 05:45 GMT