
Anonymous
Not applicable
2012-09-25
11:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Date today 18 months ago
Hi there,
In our sales reports we would like to see all the customers who have no orders for the last 18 months. So, the expression I would like to use is: orderdate > date 18 months ago. The question is: how do I get the date of 18 months ago in my expression?
To make it simple: which date was it today, 18 months ago. How do I calculate that?
Kind regards,
Henco
5,331 Views
1 Solution
Accepted Solutions


Partner - Champion
2012-09-25
11:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You can use AddMonths function like
AddMonths(Today(), -18)
Celambarasan
1,438 Views
3 Replies


Partner - Champion
2012-09-25
11:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You can use AddMonths function like
AddMonths(Today(), -18)
Celambarasan
1,439 Views

Not applicable
2012-09-25
11:07 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
try sth like this
=AddMonths(today(),-12) returns "today of last year"
Hth
Roland

Anonymous
Not applicable
2012-09-25
11:10 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks a lot, such a simple solution
1,438 Views
