$__timeFilter in MSSQL query for Variables

I tried use times macros in query for variables, but unsuccessfully.

Maybe have another way for take information about time metrics?
I also tried use __unixEpoch...lake on this sample: SELECT DISTINCT from FROM table WHERE timeColumn BETWEEN DATEADD(s, __unixEpochFrom(), ‘1970-01-01 07:00’) AND DATEADD(s, $__unixEpochTo(), ‘1970-01-01 07:00’)
This is not work. :frowning: