Does anyone have a solution for finding the Month of the year if you know the Year Number and Week No.
Note: The compiler that I'm using does not have many of the new fancy date functions found in newer cobol compilers. I need to be able to calculate this using old fashion logic.
I'm using Realia 4.2
What I have: Year = 2003 and so on....
Week No = 23
What I need: Logic that will calculate the correct Month for any given week number for any given year.
This must consider leap years and all of the normal calendar rules.
Thanks,
Rick
Note: The compiler that I'm using does not have many of the new fancy date functions found in newer cobol compilers. I need to be able to calculate this using old fashion logic.
I'm using Realia 4.2
What I have: Year = 2003 and so on....
Week No = 23
What I need: Logic that will calculate the correct Month for any given week number for any given year.
This must consider leap years and all of the normal calendar rules.
Thanks,
Rick