Skip to main content

makeweekdate - script and chart function

This function returns a date calculated from the year YYYY, the week WW and the day-of-week D.

Syntax:  

MakeWeekDate(YYYY [ , WW [ , D ] ])

Return data type: dual

Arguments:  

MakeWeekDate arguments
Argument Description
YYYY The year as an integer.
WW The week as an integer.
D

The day-of-week as an integer.

If no day-of-week is stated, 0 (Monday) is assumed.

Examples and results:  

Examples and results
Example Result
makeweekdate(2014,6,6) returns 2014-02-09
makeweekdate(2014,6,1) returns 2014-02-04
makeweekdate(2014,6) returns 2014-02-03 (weekday 0 is assumed)

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!

Join the Analytics Modernization Program

Remove banner from view

Modernize without compromising your valuable QlikView apps with the Analytics Modernization Program. Click here for more information or reach out: ampquestions@qlik.com