${__from} && ${__to} are not working for grafana v8.5.2

Hi

I am trying to get epoch time (Current time to -12hrs time) in my Panel URL .Below is the URL I am using in my alert -
http://grafana.staged-by-discourse.com/d/OlH8LAXnk/new-dashboard?orgId=1&from=${__from}&to=${__to}&viewPanel=6

But the output is not as expected , PFB screenshot -


This is the URL which got generated -
Panel URL = http://grafana.staged-by-discourse.com/d/OlH8LAXnk/new-dashboard?orgId=1&from=\({__from}&to=\)&viewPanel=6

Please suggest how to fix this.

THANK YOU!!