How can I get $__timeFilter variable (available on v6.4) using version 6.2 Grafana?

I nedd $__timeFilter on Group by query =(

Thank you all!