0
如何将时间转换为UTC-5。目前我的时间是UTC,但我想从那个时间减去5小时。Log Parser从UTC中减去5
LogParser.exe "SELECT QUANTIZE(TO_LOCALTIME(TO_TIMESTAMP(date, time)), 3600) AS Hour, COUNT(*) AS Hits FROM D:\projects\jetstar\deployed\u_ex150628.log WHERE date>'2015-06-27' and date<'2015-06-29' and cs-uri-query LIKE '%%orig%%' Group By Hour" -o:datagrid
正确。另一种方法是:SUB(TO_TIMESTAMP(日期,时间),18000) –