Is there a function to subtract days from a date? For example, I want something like CurrDate() - 90, or SubtractDays(CurrDate(), 90).
Solution
AddDays( date, -90 )
Solution
This is really cool!! thanks Joop!

I am trying to do the same, but when I enter "AddDays(Curredate(), -90)" is not accepted

Hi Gonzalo,


You have a typo there. its CurrDate() and not "Curredate()".

Is that the problem or was just writing it here on the forum?


Regards,
João Rosado

I have the same issue and the error "Unexpected ',' in expression"


Any idea?


show your expression Patrick.

Patrick, please, show your expression, but in a new topic.
Let's not wake the dead ;)

Is there a function to subtract days from 2 dates?

for example 2019/6/7 - 2019/6/6 = 1

Hi,

You have the diffdays action. Check here all the date actions.

Btw normally is better to open a new post than revive a very old one.

Regards,

Marcelo

Marcelo Ferreira wrote:

Hi,

You have the diffdays action. Check here all the date actions.

Btw normally is better to open a new post than revive a very old one.

Regards,

Marcelo

Hello Marcelo,

Thanks for the reply, 

I just started studying outsystem.


Hope you are enjoying it.

Anything you need just ask on the forum.

Have fun

Regards,

Marcelo