5 Replies Latest reply: Feb 23, 2017 1:52 PM by Petter Skjolden RSS

    software bug: today(1) function returns date of last reload

    David Atkins

      I have found that when a load script references the today() function, the result is actually the day the document was last reloaded. This breaks calculations where the document is reloaded once per day because today() is always yesterday.

       

      The function reference:

      today ‒ QlikView

       

      says "If 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."

       

      What is the default? I believe I have observed today(1) returning yesterday as well--has this been seen by others?