Date problem
1 posts in topic
Flat View  Flat View

Posted By:   Vinny_Jack
Posted On:   Wednesday, May 30, 2001 02:38 AM

How to get a count of saturdays and sundays in a given date range. i.e . no of saturdays and sundays between 25-01-01 To 26-05-01.

thanks in advance.

Re: Date problem

Posted By:   Anonymous  
Posted On:   Wednesday, May 30, 2001 08:53 AM

I don't think that there is a function that does that, but using the java.util.Calendar class, and in particolar its subclass java.util.GregorianCalendar, this could be easily achieved.

About | Sitemap | Contact