How can I write ZOQL (Zuora SQL) function which returns yesterday date?
I can not write this function. Zuora contains date_add function but I don't know the right syntax.
I tried to write this function with current term expression.
Maybe you can help me?
You can use below syntax in ZOQL. This is part of special date/time feature provided as part of zoql.
if you need to include date timestamp and go back exact one day, use 'now' instead of 'today' as shown below.
let me know if it helps.