Date field can be used in different manners within segment's filters.
It is possible to choose a specific date via the date picker.
Hovewer you can specify much more here. Mautic recognizes relative formats too (these string are not translatable):
- +1 day (you can also use 1 day)
- -2 days (you can also use 2 days ago)
- +1 week / -2 weeks / 3 weeks ago
- +5 months / -6 months / 7 months ago
- +1 year / -2 years / 3 years ago
- day (matches the day of today's date)
- month (matches the month of today's date)
Exemple : consider that today is 2018-03-02.
- Date identifiée égal -1 week returns all contacts identified on 2018-02-23.
- Date identifiée inférieur à -1 week returns all contacts identified before 2018-02-23.
- Date identifiée égal -1 months returns all contacts identified on 2018-02-02.
- Date identifiée supérieur ou égal -1 year returns all contacts identified 2017-03-02 and after.
- Date identifiée supérieur à -1 year returns all contacts identified after 2017-03-02.
- Date identified equals "day" filters all contacts identified on the 2nd of each month regardless of the year.
- Date identified equals "month" filters all contacts identified in March regardless of year and day.
Beside this you can specify your date with text. These formulas are translatable, so make sure you use them in correct format.
- birthday / anniversary.
- today / tomorrow / yesterday.
- this week / last week / next week.
- this month / last month / next month.
- this year / last year / next year.
Example (consider that today is 2018-03-02):
- Date identifiée égal last week returns all contacts identified between 2018-02-26 and 2018-03-04 (Monday to Sunday).
- Date identifiée inférieur à last week returns all contacts identified before 2018-02-19.
- Date identifiée égal last month returns all contacts identified between 2018-02-01 and 2018-02-28.
- Date identifiée supérieur ou égal à last year returns all contacts identified 2017-01-01 and after.
- Date identifiée supérieur à last year returns all contacts identified after 2017-12-31.
Comments
0 comments
Please sign in to leave a comment.