jQuery in Action, 2nd edition*
The moose likes Applets and the fly likes want to get day Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "want to get day " Watch "want to get day " New topic
Author

want to get day

Aayush Patel
Greenhorn

Joined: Apr 26, 2001
Posts: 21
I have an array of dates...now i want the day against of each date..means sunday,monday,tuesday.....
Matt DeLacey
Ranch Hand

Joined: Oct 12, 2000
Posts: 318
I've done this before but it's the hard way. You can get today's
date and today's day and then calculate from there. There is also an algorithm for calculating this, but I don't know it off the top of my head...which is why I did it the obscenely hard way.
With Respect,
Matt DeLacey
Manfred Leonhardt
Ranch Hand

Joined: Jan 09, 2001
Posts: 1492
Hi Aayush,
To help you and Matt out here is the easy way!

Regards,
Manfred.
 
wood burning stoves
 
subject: want to get day
 
Similar Threads
How to get Day, Month from Julian days?
how can i get previous Date from java.sql.Date object
First day of the first week of the month
For women only
SCWCD 1.4 Beta is now available!