remove time from date.