closed araqne/issue#238. support msec to datediff func
Merge branch 'newquery' of github.com:araqne/logdb into newquery