5 Replies Latest reply: Jan 24, 2012 5:24 PM by Felipe Ruiz RSS

    Problem to get the day from date

    Felipe Ruiz

      Hi,

       

      I have the next situation

       

      LET vDate = Today();



      //Obtener hasta que fecha actualizar el histórico

      IF Day($(vDate)) = 24 THEN

      ...

      ELSE

      ...

      ENDIF


      Today is 24 but when i run the script runs "else" expression.


      In text object shows the value such as


      Day($(vDate)) = 30

      Day(vDate) = 24


      Why ??


      Thanks!