How to use a variable as time?

How can use the Variable $Heute (which in fact is a Linux time vlue that changes every day) as the time range in a flux query?
example Influx SQL query:

select integral(“Verbrauch”,1h) FROM “AC” WHERE time >= $Heute