inLastMonths
Last update: October 21, 2021
- Topics:
- Journeys
CREATED FOR:
- Experienced
- Developer
Returns true if a given date or dateTime is between now and now - delta months.
Category
Date
Function syntax
inLastMonths(<dateTime>,<delta>)
Parameters
Parameter | Type |
---|---|
date time | dateTime |
delta | integer |
Signatures and returned type
inLastMonths(<dateTime>,<integer>)
Returns a boolean.
Examples
inLastMonths(toDateTime('2010-12-12T01:11:00Z'), 4)
Returns true.
Previous pageinLastHours
Next pageinLastYears
Journey Orchestration
- Product documentation
- What’s new
- Starting with Journey Orchestration
- Configuring an event
- Configuring a data source
- Configuring an action
- Using segments
- Building a journey
- Build expressions
- Building your reports
- Integrating with Intelligent Services
- Use cases
- Working with APIs