Skip to main content

setdateyear - script and chart function

This function returns a timestamp based on the input timestamp but with the year replaced with year.

Syntax:  

setdateyear (timestamp, year)

Arguments:  

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

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!