Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calculate Last Date of a Week

Status
Not open for further replies.

rstitzel

MIS
Apr 24, 2002
286
US
I have a date format that gives me Year and Week. I need to calculate based on that "date" the last Saturday of that week. Example 0515 is Year 2005 and Week 15. The last Saturday would be 04/09/2005. Does anyone have a technique that would give me my result?

Thank you.
 
I have a program that calculates the 1st day of a week (iso) instead. If interested, drop me a note to carpediemps_at_hotmail.com, I'll send you back the RPG ILE program. It's then pretty easy to calculate the last day from there.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top