How to write current date - 1 expression
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2021 07:26 AM
in standard process, Current date -1
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2021 08:40 AM
Do you mean subtracting 1 from a date object?
You can use this expression for example to subtract 1 minute from a date object:
Date.now().minusMinutes(1)
Here is the documentation on all the ‘minus’ functions supported for any granularity of time (hours, days, months, etc)
Reply
