4 Replies Latest reply: Aug 4, 2016 3:17 AM by swrana latha RSS

    Show the values of yesterday

    Marc van der Peet

      Dear all,

       

      I would like to create a textbox that shows the value of today and yesterday. So therefore I have created the following two variables:

       

       

      SET vToday = Today();

       

      SET vYesterday = vToday- 1;

       

      However, when I create a text box now in which I would like to show the value of vYesterday I get a " -"  value. Any thoughts on how I can perform operations ( + / - days) on a date variable?