Variable in panel title

Hi,
I’m trying to put current date in panel title. If I add:
Production: ${__from:date:YYYY-MM-DD} it works perfectly. But I have also two panels for previous days. How to modify the variable to change the day number?

Regards
Irek