now Function | Vantage CX - 1.4 - now - 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)

Returns the current datetime (expressed as time in milliseconds since 1970/1/1 00:00:00 GMT), which can in turn be passed to the time function to be used for date math.

In the following criteria expression, the now function is used with date formatting. The expression returns true when the current day is January 17th.

formatDate(now, "MM-dd") == "01-17"