How to get Time Range?

Hello,

Did anyone know how to get the value of the from and to of the time range ? IF possible in the files datasource.ts.

Nicolas

I found, use this :

getTemplateSrv().replace(“${__to}”)
or
getTemplateSrv().replace(“${__from}”);

Nicolas

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.