changing dates back to original types and values