HUE-1739 [dbquery] 500 error on execute query

- Use %Y-%m-%d %H:%M:%S %Z as date time format.