Van Achter asks ...
>
>Is there an easy way to find/calculate the calendar week number. At the
>moment we are using a Cobol program to do this (does not always work
>correctly).
>
Eric Bender answers ...
>
>Unless simply looking at an agenda book qualifies, the logic in your
>program should take into account the following ISO definition of a
>calendar week:
>"Numerical representation of a period of seven calendar days starting
>with Monday and numbered from 01 to 53 with number 01 assigned to
>the first week containing at least four days of the new year..."
>
I can offer a calculation which does the above and conforms to the
ISO definition but it's in Powerhouse. It's set up as a "use" file and
employs only "defines" so it can be "used" in any of the PH
components. Let me know if you have any interest.
John Pickering
JWP Systems Inc
Toronto