Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
How to convert Year, week to Date and month?
pls find the sample data
You can use MakeWeekDate() function:
MakeWeekDate(YYYY [ , WW [ , D ] ] )
Returns a date calculated from the year YYYY, the week WW and the day-of-week D.
If no day-of-week is stated, 0 (Monday) is assumed.
Examples:
makeweekdate(1999,6,6) returns 1999-02-14
makeweekdate(1999,6) returns 1999-02-08
Then apply Month() or MonthName() to the created date value.
...
MakeWeekDate( Year, Week) as Date,
MonthName( MakeWeekDate( Year, Week)) as MonthName,
...
use function makeweekdate
makeweekdate(Year,Week)
You can use MakeWeekDate() function:
MakeWeekDate(YYYY [ , WW [ , D ] ] )
Returns a date calculated from the year YYYY, the week WW and the day-of-week D.
If no day-of-week is stated, 0 (Monday) is assumed.
Examples:
makeweekdate(1999,6,6) returns 1999-02-14
makeweekdate(1999,6) returns 1999-02-08
Then apply Month() or MonthName() to the created date value.
...
MakeWeekDate( Year, Week) as Date,
MonthName( MakeWeekDate( Year, Week)) as MonthName,
...
hi guys,
thanks, for revert, how i can fill missing dates??
What do you mean with 'missing' in this context?
Are you talking about a master calendar?
Or more something like