Date and time

Learn how to define an audience based on temporal information.

The date and time variables, such as today, yesterday, and now, provide you with temporal information.

Suppose you have a recurring weekly promotion on Mondays, say Monday Madness. If you want an audience to match only on Monday, you can specify the following condition:

today's weekday is "monday"
Try in Playground

And to check for a specific date, you can use:

today as string is "2023-04-08"
Try in Playground

For more information on date and time variables, see the Evaluation section.