Use the MSSQL function like:
select Calcine_time as time,xbar
from [Multi_get_Rbar_sng](format(dateadd(DD,-7,getdate()),'yyyy-MM-dd'), format(getdate(),'yyyy-MM-dd'),'XXXXXXX','XXXXXXX')
the Microsoft Sql Management get is (2020-03-31 11:26:59)
why Grafana get 's more then Eight hours (2020-03-31 19:26:59)