refine the fs table datetime where select