Skip to main content

today - script and chart function

This function returns the current date from the system clock.


today([ timer_mode])

Return data type: dual


Today arguments
Argument Description

Can have the following values:

  • 0 (day of last finished data load)
  • 1 (day of function call)
  • 2 (day when the document was opened)
Information noteIf you use the function in a load script, timer_mode=0 will result in the day of the last finished data load, while timer_mode=1 will give the day of the current data load.

Examples and results:  

Examples and results
Example Result

Today( 0)

Returns the day of the last finished data load.

Today( 1)

When used in a chart expression, this returns the day of the function call.

When used in a load script, this returns the day when the current data load started.

Today( 2)

Returns the day when the document was opened.

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!

Join the Analytics Modernization Program

Remove banner from view

Modernize without compromising your valuable QlikView apps with the Analytics Modernization Program. Click here for more information or reach out: