How to use current time range using url link

Hi,
I am working with dashboards and I added url links but I need the same time range for each dashboard and if I change the time it also change in the others.
I am using &from={__from}&to={__to} but is not working. Probably, I am missing something.

you can add a macro like now-1d into the from placeholder; thank you

I tried it but I am only specifying that I need to see the data from now to 1 day, and the range doesn’t have relation with the main dashboard. Also, i tried with the option ‘time range’ from settings, but the time still do not change.

Is there any format that I need to apply in the JSON model? Because as I see the time is taking from the JSON, and no matter what a I do the time never change.

Just to update this post.

I solved it. I was missing the '' in my from & to ||| &from={__from}&to=${__to}

just like i wrokte

[quote=“berenice, post:4, topic:43384”]
update this post.

I solved it. I was missing the ‘’ in my from & to ||| &from={__from}&to=${__to}

just like i wrote