setdateyearmonth - script and chart function
Last updated: 9/11/2025
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. .
Syntax:
SetDateYearMonth (timestamp, year, month)
Return data type: dual
Arguments:
| Argument | Description |
|---|---|
| timestamp | A standard Qlik Sense timestamp (often just a date). |
| year | A four-digit year. |
| month | A one or two-digit month. |