Skip to Content
author's profile photo Former Member
Former Member

TO GET WEEKS for a given MONTH AND YEAR

Is there any FM to get the no of weeks for a given month, say 01 2005.

Can i get the week numbers say 1 2 3 4 5 for the given month and year.

Please let me know.

Happy Holidays.

Regards,

Manohar E

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 20, 2004 at 01:05 PM

    Hi Manohar,

    Yes you can: GET_WEEK_INFO_BASED_ON_DATE.

    Regards,

    John.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 24, 2004 at 03:57 AM

    Hi Manohar,

    Use FM DATE_GET_WEEK twice; first time pass first day of the month and again pass the last day of the month as a parameter. So u will be having week number(yyyyxx) for the first week of the month and week number for the last week of the month. From these two, in between week numbers u can easily fetch. I hope this will help u out.

    Regards,

    Kavya Shah

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.