Min max values for the displayed time range

Torkel,
thank you for your quick reply! this is my query:

SELECT
  datetime as time_sec,
  temp as value,
  metric as metric
FROM temp
where metric in ('pince', 'nappali', 'kinti')
and temp < 60

could you please advise where to put the

$__timeFilter(dateColumn)

code and how exactly?
thanks again
Gergo