modify hsql to parse some extract timestamp field function, and add test...

... case to these functions
Both of the answers from the hsql and volt are 1.