In comp.lang.basic.visual.misc message <
VA.000042f...@ukrm.net>,
Sun, 24 Feb 2013 19:56:28, R C Nesbit <
sp...@ukrm.net> posted:
You only need Weekday to get the day-of-week of the first day; ISO 8601
week numbers follow a simple 1-7 1-7 sequence, rolling over on Sunday
night.
While there are more than 6 days left, you can just add 7 to the day
count and 5 to the work-day count.
Better still, use integer division of the date difference to get the
number of 7-day units, ..., and short-circuit the previous paragraph.
But is hire charged for Official Holidays, such as Good Friday, Easter
Monday, etc.?
--
(c) John Stockton, nr London, UK. E-mail, see Home Page. Turnpike v6.05.
Website <
http://www.merlyn.demon.co.uk/> - w. FAQish topics, links, acronyms
PAS EXE etc. : <
http://www.merlyn.demon.co.uk/programs/> - see in 00index.htm
Dates - miscdate.htm estrdate.htm js-dates.htm pas-time.htm critdate.htm etc.