il box date nel db è settato giusto come date e non varchar?