Skip to main content

makedate - script and chart function

This function returns a date calculated from the year YYYY, the month MM and the day DD.

Syntax:  

MakeDate(YYYY [ , MM [ , DD ] ])

Return data type: dual

Arguments:  

MakeDate arguments
Argument Description
YYYY The year as an integer.
MM The month as an integer. If no month is stated, 1 (January) is assumed.
DD The day as an integer.

If no day is stated, 1 (the 1st) is assumed.

Examples and results:  

Examples and results
Example Result
makedate(2012) returns 2012-01-01
makedate(12) returns 0012-01-01
makedate(2012,12) returns 2012-12-01
makedate(2012,2,14) returns 2012-02-14

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