change Calendar to Date