4 Replies Latest reply: Jan 12, 2017 5:14 PM by m m RSS

    Date question

    m m

      I have following 2 variable and i cannot seem to pass variable to weekstart function it gives incorrect results.

       

      LET vToday = today();

      Let WeekStart = date(WeekStart($(vToday),0,6));

       

      Results:

      vToday=1/12/2017

      WeekStart=12/24/1899