Get '$timefilter" value

Someone know how can i get value of $timefilter with some plugin?
I need to know elapsed time - total time- of a graph to make some calculations, can i get this time on $timefilter variable?

Read this

if i do something how: " SELECT * FROM epoch WHERE time BETWEEN __timeFilter(created_on) AND __timeFilter(now)" like a query on Variables, can i get total time(current)?

@mefraimsson or @torkel can guide you on this. I haven’t use annotations .

on Variables, not annotations ><, sry