Skip to main content

setdateyearmonth - script and chart function

Returns a timestamp based on the input timestamp but with the year replaced with year and the month replaced with month.

Syntax:  

SetDateYearMonth (timestamp, year, month)

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.

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 – please let us know!