1 Reply Latest reply: Jun 13, 2013 5:19 AM by Alessandro Saccone RSS

    Working with calendar weeks

      Hi,

       

      Can you please help me to fix this issue :

       

      I have a list of calendar weeks in this format YYYYWW stored in a calendar table :

       

      201301, 201302 , ...., 201324

       

      And i want to get in the same format the last n weeks.

       

      For example:

       

      If i choose the 201304 and n= 6 weeks

       

      I have to get this :

       

      201303 201302 201301 201252 201251 201250

       

      Thanks in advance