Timeserie value in query variable

Hi everyone,

We have a panel with graph visualization that shows data in timeseries. We have defined a data-link that links to a panel of another dashboard where we pass the value time as a parameter in the url as follows:

http://mydomain-of-grafana:3000/my-second-dashboard?orgId=1&var-value_time=${__value.time}

We want this panel of the second dashboard to collect this value in a variable of type query.
We want this value in timestamp epoch format to be transformed in the query as a string of type YYYY-MM, (year-month)

Thanks in advance