Skip to main content

now - script and chart function

This function returns a timestamp of the current time from the system clock. The default value is 1.

Syntax:  

now([ timer_mode])

Return data type: dual

Arguments:  

Now arguments
Argument Description
timer_mode

Can have the following values:

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

Examples and results:  

Examples and results
Example Result

now( 0)

Returns the time when the last data load completed.

now( 1)

  • When used in a chart expression, this returns the time of the function call.
  • When used in a load script, this returns the time of the function call in the current data load.

now( 2)

Returns the time 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: ampquestions@qlik.com