formatDateTime Function | Vantage CX - formatDateTime - Vantage Customer Experience

Vantage Customer Experience User Guide

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Vantage Customer Experience
Release Number
1.6
Published
October 2023
Language
English (United States)
Last Update
2023-10-26
dita:mapPath
hbt1563223944614.ditamap
dita:ditavalPath
oyf1565965838286.ditaval
dita:id
tmo1562969305444
Product Category
Teradata Applications

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.