Get $from, $to from timefilter

Hi,
I have a influx data source, and in my query I need to get $from from $timefilter and some processing on it. it is possible?