2 Replies Latest reply on Apr 16, 2018 5:15 PM by Guilherme Ferreira

    Timestamp Operations in Analysis

    Guilherme Ferreira

      Hi all!


      Is it possible to perform simple timestamp operations within analysis?


      I would like to do something like this:

      PrevEvent('attribute') - 2h


      The only way I could was using this:

      ParseTime(Concat(Day(<timestamp>),"-",Month(<timestamp>),"-",Year(<timestamp>)," ",Hour(<timestamp>)-2,":",Minute(<timestamp>),":",Second(<timestamp>)))


      There should be a much simpler "DateAdd" formula. Is it there?