Skip to main content

setdateyearmonth - script and chart function

This function takes as input a timestamp, a month and a year and updates the timestamp with the year and the month specified in input. .


SetDateYearMonth (timestamp, year, month)

Return data type: dual


Argument Description
timestamp A standard Qlik Sense timestamp (often just a date).
year A four-digit year.
month A one or two-digit month.