3 Replies Latest reply: Jul 1, 2011 7:51 AM by Thomas Ljungström RSS

    logging script duration with fractions

      Hi! Can't get my duration log to register fractions of a second.
      LET
       SCRIPT_START   = now(1);
      table1:
      LOAD 
           1 as F1
      AutoGenerate 10000000
      ;
      LET LOAD_DURATION = now(1) - SCRIPT_START;
      CALL Log ('Loading table1 took '& interval(LOAD_DURATION,'ss.fff')); 
      

      How to format LOAD_DURATION so I get ex. 2.344s?