after figuring out how to get around hsqldb error go back to pure SQL dates