Last N Days and Next N Days
These literals apply to the range of date limit for the last (N) days or next (N) days on which the rule is valid. The literals can be used in Date and Datetime fields.
These literals are supported on Qualification Criteria/Expression, Data Validation Rule, and SFM Search.
* 
- These literals can be used in SFM Web Delivery pages only if they have been configured in New Designer. - These literals are not supported in Mobile apps.
For the defined date range, Last N Days does not include results of TODAY and Next N Days includes results of TODAY.
* 
Salesforce implementation of Last N Days and Next N Days literals does not match with the documented intended behavior. Until this issue is fixed, Last N Days includes results of TODAY and Next N Days does not include results of TODAY when configured in Qualification Criteria/Expression and SFM Search in SFM delivery.
Was this helpful?