Skip to main content

setdateyear - script and chart function

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

Syntax:  

setdateyear (timestamp, year)

Return data type: dual

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 – let us know how we can improve!