Skip to main content
May 26, 2021
Question

check the date is past 45 days

  • May 26, 2021
  • 4 replies
  • 0 views

My scenario is to check the date past 45 days. 

todate(now())-local!creat_dt return intervals(days to Seconds).

How to retrieve Days from it. Or is there an other solution to find?

    4 replies

    danny.verb
    May 26, 2021

    You just need to compare to intervals

    a!localVariables(
      local!diff: tointervalds(today()) - tointervalds(today()-40),
      tointeger(local!diff)
    )

    May 26, 2021

    Awesome