Originally posted by Soumya Ghosh:
Hi,
thanks for giving idea for pulling all fridays within specified date ranges.
but, I have no provision of specifying two dates such as start date and end date.
User will give only YEAR as input. And depending on that year, I have to list all Friday dates,Saturday dates and sunday dates of that corresponding year and for all 12 months.
Please help me by providing a sample code.
Hate to point out the real obvious... but...
(1) Given a year as the input, isn't the start date January 1st, of that year, and the end date December 31st, of that year?
(2) Given the example, that only checks for Fridays, can't you add a check for Saturday and Sunday too?
Henry