How to get first day of week N?

swjswj Member Posts: 68
Hello Experts,

I tried to search but not get exactly what i need. Hope can give advice.

I want to get first day of week N (N is between 1-51)
example: first day of week 1 is 03/01/2011
first day of week 4 is 24/01/2011

Using DATE2DWY, I just get the week N.

THANKS in advance

Comments

  • einsTeIn.NETeinsTeIn.NET Member Posts: 1,050
    There is a function the other way round. Take a look at DWY2DATE.

    Or you could use
    CALCDATE('<-CW>',YourDate);
    
    "Money is likewise the greatest chance and the greatest scourge of mankind."
  • crisnicolascrisnicolas Member Posts: 177
    You can youse table 2000000007 Date.
    Period Type: Week
    Period No.: the number of week
    Some additional filtering to get the week of the year you are interested in.
    Field Period Start is what you want.
Sign In or Register to comment.