Help

Re: How to calculate a Date plus/minus X days

Solved
Jump to Solution
520 0
cancel
Showing results for 
Search instead for 
Did you mean: 
micha281sth
6 - Interface Innovator
6 - Interface Innovator

Hello, 

I am looking for a way to calculate a date minus x days based on a date field. I.e. the result should be 31.12.2023 (DD.MM.YYYY) minus 10 days = 21.12.2023. 

How can I do this? 

I tried to use this formula, but it returned an error: 

 

DATETIME_FORMAT(DATEADD({Date Field}, -10, 'days'), 'DD.MM.YYYY')

 

Thanks for help, 
M.

1 Solution

Accepted Solutions
micha281sth
6 - Interface Innovator
6 - Interface Innovator

Sorry, had a typo in the formula. It does work 🙂 

So this is working: 

DATETIME_FORMAT(DATEADD({Date Field}, -10, 'days'), 'DD.MM.YYYY')

See Solution in Thread

1 Reply 1
micha281sth
6 - Interface Innovator
6 - Interface Innovator

Sorry, had a typo in the formula. It does work 🙂 

So this is working: 

DATETIME_FORMAT(DATEADD({Date Field}, -10, 'days'), 'DD.MM.YYYY')