formatDateTime Function | Vantage CX - 1.4 - formatDateTime - Vantage Customer Experience

Vantage Customer Experience User Guide

Product
Vantage Customer Experience
Release Number
1.4
Release Date
June 2021
Content Type
User Guide
Publication ID
B035-3800-099K
Language
English (United States)

Formats each time-based value into the specified time interval. The formatDateTime function is used only within the context of a filter.

count(
       filter(
                get("Account.dates"),
                "expiration",
                formatDateTime("month"),
                equalTo(time(now,"month"))
       )
) > 3
This example returns true if there are more than three expiration dates this month.
See the time function for the supported time periods.