Date expression in ataccama

Hi all,
How to get yesterday date using ataccama expression

Hello Suresh,

The inquiry was answered in the previous community post, nevertheless here is the response once more:

You can use the following expressions depending on your use-case:

* dateAdd(today(),-1,'DAY')

* dateAdd(now(),-1,'DAY')

The first one will give you back the current date minus 1 day in YEAR-MONTH-DAY format, whereas the 2nd one will be in the YEAR-MONTH-DAY HOUR:MINUTE:SECOND.

It is up to you to tailor the expression to your unique needs. I hope this information helped you with your inquiry.

Kind regards,
Aleksandar Aleksov

Thank you so much.i will try this

1 Like