SOLVED
Required previous date from current date
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Maheshp
8 - Asteroid
‎08-09-2022
10:16 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi,
I am going to prepare a workflow but at one point I got stuck where I need previous dates with the help of available date.
Like below:- In first column the dates which I have but in second column where I want, so with the help of formula how can I get this.
Date I have | Date I want |
02/06/2022 | 31/05/2022 |
03/06/2022 | 01/06/2022 |
04/06/2022 | 02/06/2022 |
05/06/2022 | 03/06/2022 |
06/06/2022 | 04/06/2022 |
07/06/2022 | 05/06/2022 |
08/06/2022 | 06/06/2022 |
09/06/2022 | 07/06/2022 |
Regards,
Mahesh
Solved! Go to Solution.
Labels:
- Labels:
- Community
2 REPLIES 2
Amol_Telore
11 - Bolide
‎08-09-2022
10:50 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hey @Maheshp
You can do this by using datetimeadd formula. To get the previous date you need to put negative value in formula. To get upcoming date,put positive value.
Formula : datetimeadd([date i have],-2,'days')
Attached is the solution.
‎08-09-2022
11:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks Telore! Now it is working.
