Create a variable for date using _time field on influx

I have to take it from 2 measurements. and then combine all the values. I am new to this? can i have the query ?

any reason you cannot use date from grafana’s own date picker?